diff options
author | Brian Harring <ferringb@gentoo.org> | 2011-04-25 03:10:26 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2011-04-25 03:10:26 +0000 |
commit | 2fb9d78fd77096031556f61f18cf644b35a313c1 (patch) | |
tree | c7562fe41a14a24d5fa79299736fb166a6a7e287 /sys-apps/pkgcore | |
parent | add snakeoil 0.4 (diff) | |
download | historical-2fb9d78fd77096031556f61f18cf644b35a313c1.tar.gz historical-2fb9d78fd77096031556f61f18cf644b35a313c1.tar.bz2 historical-2fb9d78fd77096031556f61f18cf644b35a313c1.zip |
add pkgcore 0.6, with eapi4 support.
Package-Manager: portage-2.1.9.44/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/pkgcore')
-rw-r--r-- | sys-apps/pkgcore/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/pkgcore/Manifest | 10 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-0.6.ebuild | 76 |
3 files changed, 88 insertions, 5 deletions
diff --git a/sys-apps/pkgcore/ChangeLog b/sys-apps/pkgcore/ChangeLog index da7198140a46..5377b3435879 100644 --- a/sys-apps/pkgcore/ChangeLog +++ b/sys-apps/pkgcore/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/pkgcore # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.105 2011/03/22 06:16:40 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.106 2011/04/25 03:10:26 ferringb Exp $ + +*pkgcore-0.6 (25 Apr 2011) + + 25 Apr 2011; Brian Harring <ferringb@gentoo.org> +pkgcore-0.6.ebuild: + pkgcore 0.6; adds eapi4 support, and fixes a ton of issues. 22 Mar 2011; Brian Harring <ferringb@gentoo.org> pkgcore-0.5.11.6.ebuild, pkgcore-0.5.11.7.ebuild, pkgcore-0.5.11.8.ebuild, pkgcore-0.5.11.8-r1.ebuild: diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest index a4936f258ccc..5f654a168d4b 100644 --- a/sys-apps/pkgcore/Manifest +++ b/sys-apps/pkgcore/Manifest @@ -5,16 +5,18 @@ AUX 0.5.11.8-magic-compat.patch 990 RMD160 504db76e4ea42fc8361b473ab6d0e6aac947f DIST pkgcore-0.5.11.6.tar.bz2 424188 RMD160 871e1faa468920a11c3a03c9a958c27090a61614 SHA1 3794c6824225c69134da51e24323749a7239551d SHA256 5b1ad4cc2528329925275e9e07038de4cce5b9c13bd033658ffda318d781a1b3 DIST pkgcore-0.5.11.7.tar.bz2 423563 RMD160 7b7574f51f3b2bbd2e2c75b877ae908426872703 SHA1 2be30be43f0a4ef29e1b54dd9aa18a3605f5f71d SHA256 76d5f84f64d856980e864fa6f2c193da215d4289bdf4a0253f408fc7a2b042a1 DIST pkgcore-0.5.11.8.tar.bz2 425846 RMD160 0398dac501b413b4c274fafa80e2e3f25b19b1f5 SHA1 de7b9575f538a0644c7864371c6e22394bb8e7bb SHA256 640ba1a4743727e836548e339f71fe518632b26fab8ad689de211894ceb2fa1f +DIST pkgcore-0.6.tar.bz2 444346 RMD160 8c195a2076982a96e425696dfc2bf7fbdb395d25 SHA1 d81f4057457bfd897ebff4baf1c503ca5fca7f47 SHA256 41dfc302f4564cc769fff9853cb29a4ec31a3db26561790918cf21420bd2b96a EBUILD pkgcore-0.5.11.6.ebuild 1816 RMD160 dee5017982f6b2358530feeb5017050be696d745 SHA1 e19e61ab69bc01c082cf14ac43a1420bb75c287d SHA256 4dfa949c467c17b35141a01fc60b21416f0af59ac6378c606ebe0ee3323760b6 EBUILD pkgcore-0.5.11.7.ebuild 1816 RMD160 7846d1c3014f303bae22363b8ff6b182b59cb235 SHA1 6481cae6d8ff37d570834c37eb95caa4f6dc39aa SHA256 d719752767ac74f90d3420886f367cb1935b37fa966290ebe8cc7e2db0be1175 EBUILD pkgcore-0.5.11.8-r1.ebuild 1931 RMD160 6183cca6e224bee30ec0b9655f0ab89674e94f43 SHA1 faf72b62f6d77f527ba28d39482a9358b0ecc681 SHA256 ca59edb5ed2dc021f41d666cc84b090f04ccb886265bd33705454e8c70c1a3ad EBUILD pkgcore-0.5.11.8.ebuild 1816 RMD160 fb807003d6c900c3fae1b3694bfb9796a4c9a488 SHA1 087ef465961a38fc53f62948cc4999b598d0e5fc SHA256 50e7f303f6a35124b84a05e72a652cf31c2ff98894271130dd7cae58658bcf5f -MISC ChangeLog 16580 RMD160 1536b74cb2ab275100f3406b5b057fcfa4a9973c SHA1 ebe2b7b84e5e21a79bbaf4b38dd5071ce9ab02f4 SHA256 ec3dce9594dfe346c1e8d03e3a25a3d2e02af260b71f4a63018730a37e8404f5 +EBUILD pkgcore-0.6.ebuild 1804 RMD160 ec82edb38e35d9215d3c8d77569f8a94af4b7f74 SHA1 46bb4df285cf27691c977c049bb90b88e08d2e09 SHA256 fedddc34179714f42f947082cb9bc208291beccdf4f739edb20dc607bf5624bc +MISC ChangeLog 16743 RMD160 4581a6f06716b6f912f2302cbbc6fac672e2fd61 SHA1 18febd1436d03359fb6f3c367bf8f05cd2818738 SHA256 6b38bf206d38e48183279aeea5c966749cc910a689ce62bc6c73859c211da02c MISC metadata.xml 256 RMD160 1b8dd3fe357cfae2f83a8f7ef896da5abc1ac433 SHA1 97e6ce21c6ec742e813e75e85de0c547ef233381 SHA256 27d03d721a47cce85175bcb7759cd0ed4ceee7633a1f62fff6626948de395509 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) -iEYEARECAAYFAk2IQLkACgkQsiLx3HvNzgcmfACdGm3iHlUJPKv3SgdlWI63Xizs -NqMAoL2VvMXNhBI7gqRZjTbp/JqbCVG+ -=h4qV +iEYEARECAAYFAk205i4ACgkQsiLx3HvNzgeunwCfSMQpf7B6KOPnZyyrF+41LadO +hJIAn3UAw+wb42jkiRWAzM1M8s6LFUoL +=vm/z -----END PGP SIGNATURE----- diff --git a/sys-apps/pkgcore/pkgcore-0.6.ebuild b/sys-apps/pkgcore/pkgcore-0.6.ebuild new file mode 100644 index 000000000000..ce678473c2d6 --- /dev/null +++ b/sys-apps/pkgcore/pkgcore-0.6.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.6.ebuild,v 1.1 2011/04/25 03:10:26 ferringb Exp $ + +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils + +DESCRIPTION="pkgcore package manager" +HOMEPAGE="http://www.pkgcore.org" +SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc" + +RDEPEND=">=dev-lang/python-2.4 + >=dev-python/snakeoil-0.3.6.3 + >=app-shells/bash-3.0 + || ( >=dev-lang/python-2.5 dev-python/pycrypto )" +DEPEND="${RDEPEND} + doc? ( >=dev-python/docutils-0.4 )" + +DOCS="AUTHORS NEWS" + +pkg_setup() { + # disable snakeoil 2to3 caching... + unset PY2TO3_CACHEDIR + python_pkg_setup +} + +src_compile() { + distutils_src_compile + + if use doc; then + ./build_docs.py || die "doc building failed" + fi +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r doc dev-notes + doman man/*.1 + fi + + dodoc doc/*.rst man/*.rst + docinto dev-notes + dodoc dev-notes/*.rst +} + +pkg_postinst() { + distutils_pkg_postinst + pplugincache + + if [[ -d "${ROOT}etc/pkgcore/plugins" ]]; then + elog "You still have an /etc/pkgcore/plugins from pkgcore 0.1." + elog "It is unused by pkgcore >= 0.2, remove it now." + die "remove /etc/pkgcore/plugins from pkgcore 0.1" + fi + + # This is left behind by pkgcore 0.2. + rm -f "${ROOT}"$(python_get_sitedir)/pkgcore/plugins/plugincache +} + +pkg_postrm() { + # Careful not to remove this on up/downgrades. + local sitep="${ROOT}"$(python_get_sitedir)/site-packages + if [[ -e "${sitep}/pkgcore/plugins/plugincache2" ]] && + ! [[ -e "${sitep}/pkgcore/plugin.py" ]]; then + rm "${sitep}/pkgcore/plugins/plugincache2" + fi + distutils_pkg_postrm +} |