From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-apps@cygwin.com
Cc: Jon Turney <jon.turney@dronecode.org.uk>
Subject: [PATCH cygport 1/3] Pass DEPEND through to .hint for source package as build-depends:
Date: Tue, 02 May 2017 13:14:00 -0000 [thread overview]
Message-ID: <20170502131345.158584-2-jon.turney@dronecode.org.uk> (raw)
In-Reply-To: <20170502131345.158584-1-jon.turney@dronecode.org.uk>
Converting a dependency atom to a package name with full generality requires
a database of all the pathnames contained in all packages, so we don't even
try to do that here, leaving that task for downstream processing of the
.hint file...
---
lib/pkg_pkg.cygpart | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/pkg_pkg.cygpart b/lib/pkg_pkg.cygpart
index 5552040..01dec69 100644
--- a/lib/pkg_pkg.cygpart
+++ b/lib/pkg_pkg.cygpart
@@ -710,6 +710,10 @@ _EOF
cat >> ${distdir}/${PN}/${distsubdir}/${pkg_name[${n}]}-${PVR}.hint <<-_EOF
external-source: ${PN}
_EOF
+ else
+ cat >> ${distdir}/${PN}/${distsubdir}/${pkg_name[${n}]}-${PVR}.hint <<-_EOF
+build-depends: ${DEPEND}
+_EOF
fi
if defined ${pkg_message_var}
then
@@ -810,6 +814,7 @@ _EOF
cat > ${distdir}/${PN}/${PN}-${PVR}.hint <<-_EOF
category: ${!pkg_category_var:-${CATEGORY}}
requires:
+build-depends: ${DEPEND}
sdesc: "${!pkg_summary_var:-${SUMMARY}}"
ldesc: "${!pkg_description_var:-${DESCRIPTION:-${!pkg_summary_var:-${SUMMARY}}}}"
skip:
--
2.12.2
next prev parent reply other threads:[~2017-05-02 13:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-02 13:14 [PATCH cygport 0/3] cygport patches Jon Turney
2017-05-02 13:14 ` [PATCH cygport 3/3] Update documentation of all and almostall Jon Turney
2017-05-02 14:29 ` Andrew Schulman
2017-05-02 15:12 ` Jon Turney
2017-05-05 20:45 ` Yaakov Selkowitz
2017-05-02 13:14 ` [PATCH cygport 2/3] Don't allow SRC_URI or PATCH_URI to depend on ARCH Jon Turney
2017-05-02 13:31 ` Andrew Schulman
2017-05-02 13:39 ` Jon Turney
2017-05-02 14:30 ` Andrew Schulman
2017-05-05 22:05 ` Yaakov Selkowitz
2017-05-06 11:32 ` Jon Turney
2017-05-11 12:07 ` Jon Turney
2017-05-02 13:14 ` Jon Turney [this message]
2017-05-05 20:42 ` [PATCH cygport 1/3] Pass DEPEND through to .hint for source package as build-depends: Yaakov Selkowitz
2017-05-05 23:54 ` Brian Inglis
2017-05-06 5:39 ` Achim Gratz
2017-05-06 11:03 ` Jon Turney
2017-05-06 16:10 ` Brian Inglis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170502131345.158584-2-jon.turney@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).