diff options
author | Akinori Hattori <hattya@gentoo.org> | 2011-11-03 08:25:33 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2011-11-03 08:25:33 +0000 |
commit | 0ce2a9ae9eb7a08371a48c7a28163967b94c0cc1 (patch) | |
tree | a0bb136492b7ff88a04238a97ce4761b38b6cb3c /dev-db | |
parent | Actually commit amd64/ppc stable keywords. Thanks to Mr_Bones_ for his everla... (diff) | |
download | historical-0ce2a9ae9eb7a08371a48c7a28163967b94c0cc1.tar.gz historical-0ce2a9ae9eb7a08371a48c7a28163967b94c0cc1.tar.bz2 historical-0ce2a9ae9eb7a08371a48c7a28163967b94c0cc1.zip |
update to EAPI 4. fixes bug #379005.
Package-Manager: portage-2.1.10.11/cvs/Linux i686
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/qdbm/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/qdbm/Manifest | 18 | ||||
-rw-r--r-- | dev-db/qdbm/qdbm-1.8.77.ebuild | 134 | ||||
-rw-r--r-- | dev-db/qdbm/qdbm-1.8.78-r1.ebuild (renamed from dev-db/qdbm/qdbm-1.8.78.ebuild) | 70 |
4 files changed, 94 insertions, 138 deletions
diff --git a/dev-db/qdbm/ChangeLog b/dev-db/qdbm/ChangeLog index 0df33cff2503..b556175af3ed 100644 --- a/dev-db/qdbm/ChangeLog +++ b/dev-db/qdbm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/qdbm -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/ChangeLog,v 1.131 2010/11/25 09:51:32 hattya Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/ChangeLog,v 1.132 2011/11/03 08:25:33 hattya Exp $ + +*qdbm-1.8.78-r1 (03 Nov 2011) + + 03 Nov 2011; Akinori Hattori <hattya@gentoo.org> qdbm-1.8.77.ebuild, + -qdbm-1.8.78.ebuild, +qdbm-1.8.78-r1.ebuild: + update to EAPI 4. fixes bug #379005. *qdbm-1.8.78 (25 Nov 2010) diff --git a/dev-db/qdbm/Manifest b/dev-db/qdbm/Manifest index bee17e43ad5d..9984a95d1a09 100644 --- a/dev-db/qdbm/Manifest +++ b/dev-db/qdbm/Manifest @@ -1,20 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 AUX qdbm-perl-runpath-vendor.diff 1054 RMD160 369d3d03d4259e7e6f31cc7fe3dba88a6c2a33bb SHA1 a2fa5f660790627148a75bb2c7fd80598d1d3d51 SHA256 e1e0b6bbe6089b8d1c7c80a5040a5102e8b09a1db05a3c9e7d4749dfdd88ffc0 AUX qdbm-runpath.diff 1585 RMD160 95ea0b97a86342f3b54b586b542699e970fd9333 SHA1 e2dbd37b6f57604b3a1b7544f394e370577cafcf SHA256 d3e70c6b172fc5c379ede598b793bd1262a6209e99653af929e8c633ffebccf4 DIST qdbm-1.8.77.tar.gz 948271 RMD160 3c684a4127204faf32472d29d7fd64a07e394332 SHA1 e277e77bc0209cc4c8eb205a9082ef880048445c SHA256 e413a57b28061f65c6e26fbec584f0d1c9c06f3142ee513fec4061f65533c772 DIST qdbm-1.8.78.tar.gz 1015429 RMD160 84c812eaa0ddde822dd37515de67287098bd3a4b SHA1 8c2ab938c2dad8067c29b0aa93efc6389f0e7076 SHA256 b466fe730d751e4bfc5900d1f37b0fb955f2826ac456e70012785e012cdcb73e -EBUILD qdbm-1.8.77.ebuild 2162 RMD160 132a724307b86ae5570e03e8bac5a963934bef28 SHA1 40118b5796e5342b119c43ab9bdf33a470ccf359 SHA256 7794079d94a38b7a90adae4095388b9082359db4b1430500309a9422184beb71 -EBUILD qdbm-1.8.78.ebuild 2358 RMD160 1904f77dbe98992e93c994cf63e76561a779a33f SHA1 95e84cf7c77730de28fcbe9cc3bac530ab4ae079 SHA256 275ccfafed1926b433ce27745217709656f99a7656e0f9aeca7dbcea8aebd6e4 -MISC ChangeLog 14904 RMD160 a69bd33859c33e8c0c6e323357294ddf8d5a1e42 SHA1 1e479ad56648bc5a0b2c2386999217e38baf7a2e SHA256 7dd44a59baaa245d81de957a61df6fc3f79121776e304560d9bea2a654be7c52 +EBUILD qdbm-1.8.77.ebuild 2059 RMD160 850babb3ca4f22365b83e821ea0c5d5af5e20638 SHA1 d2928dc492f9bbecc518b339dae12f4166631d30 SHA256 d26da94b367f0e6adaca48a8363b5c7139ae97f2f6df20dde13edc9ea32da739 +EBUILD qdbm-1.8.78-r1.ebuild 2279 RMD160 5f3b22857ac0d72c6421bebbcd588f8c2d7cec4c SHA1 a2912b6a4d8748d5fdb7ba3ddf9f7810a74cf9c7 SHA256 0fae41475841bc6af3a8d70afdaa0315bc5d088f1c15df06952fa495ed50189e +MISC ChangeLog 15093 RMD160 5c0dd56fbf553b761a7ac43204d9c7bd2186c235 SHA1 b434bd03070f14626fffd1094f270e85a054a31f SHA256 0a007ebb1d18d01d4678b72497bd92eeec6fc3a1c1ecdb7ee71c25aaefa51880 MISC metadata.xml 207 RMD160 86fcb06b43d2b6a913e37d4e35a341106c6ebfec SHA1 d07940c413e96f7966b84b6e94e8284ababf1a62 SHA256 131271f902267c3eb067a7b0316b1e2598d5cc32a4528edb37d50ea2f4b262e0 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iJwEAQEIAAYFAk59A9IACgkQfXuS5UK5QB37+wP/Tm8qB7iW/kzNn381hvlCm5l7 -rfBYqtcBotVexvYKnNaXmDjv7e8cXQmrCXsaOngS+qGIHQqHU5Z+ZcdaTPHCEru7 -Ygy681ZVSc1gfVDsA9Ugz+kD7wcVdw0E0CTPy5/nGoB1ZY4R8Dj6LIPu07AEXJX2 -T7Y3kwRh4cLs7LYBrmo= -=5QAa +iEYEARECAAYFAk6yUB4ACgkQL46suuyRem3IGgCfYstHewLncd3cqeKEVf3497G8 +uDIAoJy88MUZ4i6Q+/ruAkxbMNTMGXdC +=wzun -----END PGP SIGNATURE----- diff --git a/dev-db/qdbm/qdbm-1.8.77.ebuild b/dev-db/qdbm/qdbm-1.8.77.ebuild index 5d745ea844e6..80281c5928b6 100644 --- a/dev-db/qdbm/qdbm-1.8.77.ebuild +++ b/dev-db/qdbm/qdbm-1.8.77.ebuild @@ -1,120 +1,98 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/qdbm-1.8.77.ebuild,v 1.11 2010/07/31 10:28:55 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/qdbm-1.8.77.ebuild,v 1.12 2011/11/03 08:25:33 hattya Exp $ -inherit eutils java-pkg-opt-2 multilib +EAPI="4" -IUSE="debug java perl ruby zlib" +inherit eutils java-pkg-opt-2 multilib DESCRIPTION="Quick Database Manager" -HOMEPAGE="http://qdbm.sourceforge.net/" +HOMEPAGE="http://fallabs.com/qdbm/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd" SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="debug java perl ruby zlib" RDEPEND="java? ( >=virtual/jre-1.4 ) perl? ( dev-lang/perl ) - ruby? ( dev-lang/ruby ) + ruby? ( dev-lang/ruby:1.8 ) zlib? ( sys-libs/zlib )" DEPEND="${RDEPEND} java? ( >=virtual/jdk-1.4 )" -src_unpack() { - - unpack ${A} - cd "${S}" - +src_prepare() { epatch "${FILESDIR}"/${PN}-runpath.diff epatch "${FILESDIR}"/${PN}-perl-runpath-vendor.diff - - sed -i "/^CFLAGS/s/$/ ${CFLAGS}/" Makefile.in || die - sed -i "/^JAVACFLAGS/s/$/ ${JAVACFLAGS}/" java/Makefile.in || die - + # apply flags + sed -i "/^CFLAGS/s|$| ${CFLAGS}|" Makefile.in + sed -i "/^JAVACFLAGS/s|$| ${JAVACFLAGS}|" java/Makefile.in # replace make -> $(MAKE) sed -i "s/make\( \|$\)/\$(MAKE)\1/g" \ Makefile.in \ - {cgi,java,perl,plus,ruby}/Makefile.in \ - || die - + {cgi,java,perl,plus,ruby}/Makefile.in } -src_compile() { - - econf \ - $(use_enable debug) \ - $(use_enable zlib) \ - --enable-pthread \ - --enable-iconv \ - || die - emake || die - +qdbm_api_for() { local u - for u in java perl ruby; do - if ! use ${u}; then + if ! use "${u}"; then continue fi - - cd ${u} - econf || die - emake || die + cd "${u}" + case "${EBUILD_PHASE}" in + configure) + econf + ;; + compile) + emake + ;; + test) + emake -j1 check + ;; + install) + emake DESTDIR="${D}" MYDATADIR=/usr/share/doc/${P}/html install + esac cd - done - } -src_test() { - - emake -j1 check || die - - local u - - for u in java perl ruby; do - if ! use ${u}; then - continue - fi +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable zlib) \ + --enable-pthread \ + --enable-iconv + qdbm_api_for # configure +} - cd ${u} - emake -j1 check || die - cd - - done +src_compile() { + emake + qdbm_api_for # compile +} +src_test() { + emake -j1 check + qdbm_api_for # test } src_install() { - - emake DESTDIR="${D}" install || die - + emake DESTDIR="${D}" install dodoc ChangeLog NEWS README THANKS dohtml *.html + rm -rf "${ED}"/usr/share/${PN} - rm -rf "${D}"/usr/share/${PN} - - local u mydatadir=/usr/share/doc/${P}/html - - for u in java perl ruby; do - if ! use ${u}; then - continue - fi - - cd ${u} - emake DESTDIR="${D}" MYDATADIR=${mydatadir}/${u} install || die - - case ${u} in - java) - java-pkg_dojar "${D}"/usr/$(get_libdir)/*.jar - rm -f "${D}"/usr/$(get_libdir)/*.jar - ;; - perl) - rm -f "${D}"/$(perl -V:installarchlib | cut -d\' -f2)/*.pod - find "${D}" -name .packlist -print0 | xargs -0 rm -f - ;; - esac - cd - - done + qdbm_api_for # install - rm -f "${D}"/usr/bin/*test + if use java; then + java-pkg_dojar "${ED}"/usr/$(get_libdir)/*.jar + rm -f "${ED}"/usr/$(get_libdir)/*.jar + fi + if use perl; then + rm -f "${ED}"/$(perl -V:installarchlib | cut -d\' -f2)/*.pod + find "${ED}" -name .packlist -print0 | xargs -0 rm -f + fi + rm -f "${ED}"/usr/bin/*test } diff --git a/dev-db/qdbm/qdbm-1.8.78.ebuild b/dev-db/qdbm/qdbm-1.8.78-r1.ebuild index 1a519c3d9f3a..7167f91be4fb 100644 --- a/dev-db/qdbm/qdbm-1.8.78.ebuild +++ b/dev-db/qdbm/qdbm-1.8.78-r1.ebuild @@ -1,20 +1,19 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/qdbm-1.8.78.ebuild,v 1.1 2010/11/25 09:51:32 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/qdbm/qdbm-1.8.78-r1.ebuild,v 1.1 2011/11/03 08:25:33 hattya Exp $ -EAPI="3" +EAPI="4" inherit eutils java-pkg-opt-2 multilib -IUSE="cxx debug java perl ruby zlib" - DESCRIPTION="Quick Database Manager" HOMEPAGE="http://fallabs.com/qdbm/" SRC_URI="http://fallabs.com/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="cxx debug java perl ruby zlib" RDEPEND="java? ( >=virtual/jre-1.4 ) perl? ( dev-lang/perl ) @@ -24,92 +23,69 @@ DEPEND="${RDEPEND} java? ( >=virtual/jdk-1.4 )" src_prepare() { - epatch "${FILESDIR}"/${PN}-runpath.diff epatch "${FILESDIR}"/${PN}-perl-runpath-vendor.diff - # apply flags - sed -i "/^CFLAGS/s/$/ ${CFLAGS}/" Makefile.in || die - sed -i "/^CXXFLAGS/s/$/ ${CXXFLAGS}/" plus/Makefile.in || die - sed -i "/^JAVACFLAGS/s/$/ ${JAVACFLAGS}/" java/Makefile.in || die - + sed -i "/^CFLAGS/s|$| ${CFLAGS}|" Makefile.in + sed -i "/^OPTIMIZE/s|$| ${CFLAGS}|" perl/Makefile.in + sed -i "/^CXXFLAGS/s|$| ${CXXFLAGS}|" plus/Makefile.in + sed -i "/^JAVACFLAGS/s|$| ${JAVACFLAGS}|" java/Makefile.in # replace make -> $(MAKE) sed -i "s/make\( \|$\)/\$(MAKE)\1/g" \ Makefile.in \ - {cgi,java,perl,plus,ruby}/Makefile.in \ - || die - + {cgi,java,perl,plus,ruby}/Makefile.in } qdbm_api_for() { - local u - for u in cxx java perl ruby; do if ! use "${u}"; then continue fi - if [ "${u}" = "cxx" ]; then u="plus" fi - cd "${u}" case "${EBUILD_PHASE}" in configure) - econf || die + econf ;; compile) - emake || die + emake ;; test) - emake -j1 check || die + emake -j1 check ;; install) - emake \ - DESTDIR="${ED}" \ - MYDATADIR=/usr/share/doc/${P}/html \ - install \ - || die + emake DESTDIR="${D}" MYDATADIR=/usr/share/doc/${P}/html install esac cd - done - } src_configure() { - econf \ $(use_enable debug) \ $(use_enable zlib) \ --enable-pthread \ - --enable-iconv \ - || die + --enable-iconv qdbm_api_for # configure - } src_compile() { - - emake || die + emake qdbm_api_for # compile - } src_test() { - - emake -j1 check || die + emake -j1 check qdbm_api_for # test - } src_install() { - - emake DESTDIR="${ED}" install || die - + emake DESTDIR="${D}" install dodoc ChangeLog NEWS README THANKS dohtml -r doc/ - rm -rf "${ED}"/usr/share/${PN} qdbm_api_for # install @@ -117,14 +93,12 @@ src_install() { if use java; then java-pkg_dojar "${ED}"/usr/$(get_libdir)/*.jar rm -f "${ED}"/usr/$(get_libdir)/*.jar - - elif use perl; then + fi + if use perl; then rm -f "${ED}"/$(perl -V:installarchlib | cut -d\' -f2)/*.pod find "${ED}" -name .packlist -print0 | xargs -0 rm -f - fi - rm -f "${D}"/usr/bin/*test - rm -f "${D}"/usr/share/man/man1/*test.1* - + rm -f "${ED}"/usr/bin/*test + rm -f "${ED}"/usr/share/man/man1/*test.1* } |