diff options
author | Brian Harring <ferringb@gentoo.org> | 2011-08-06 08:59:27 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2011-08-06 08:59:27 +0000 |
commit | de8e339fe1ac78a75024cc789fdc3a7312000e23 (patch) | |
tree | df22005a10e799f1f0b11cd6952b3f10215d90b7 /sys-apps/pkgcore | |
parent | Version bump. (diff) | |
download | gentoo-2-de8e339fe1ac78a75024cc789fdc3a7312000e23.tar.gz gentoo-2-de8e339fe1ac78a75024cc789fdc3a7312000e23.tar.bz2 gentoo-2-de8e339fe1ac78a75024cc789fdc3a7312000e23.zip |
update homepage url, and add -9999 version for bleeding edge users
(Portage version: 2.1.10.6/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/pkgcore')
-rw-r--r-- | sys-apps/pkgcore/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-0.6.5-r1.ebuild | 6 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-0.6.6.ebuild | 6 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-9999.ebuild | 78 |
4 files changed, 91 insertions, 7 deletions
diff --git a/sys-apps/pkgcore/ChangeLog b/sys-apps/pkgcore/ChangeLog index 5d156e9d23c7..490dd00dc480 100644 --- a/sys-apps/pkgcore/ChangeLog +++ b/sys-apps/pkgcore/ChangeLog @@ -1,6 +1,12 @@ # 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.117 2011/07/11 08:52:00 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.118 2011/08/06 08:59:27 ferringb Exp $ + +*pkgcore-9999 (06 Aug 2011) + + 06 Aug 2011; Brian Harring <ferringb@gentoo.org> pkgcore-0.6.5-r1.ebuild, + pkgcore-0.6.6.ebuild, +pkgcore-9999.ebuild: + Update homepage, and add -9999 ebuild for bleeding edge users. *pkgcore-0.6.6 (11 Jul 2011) diff --git a/sys-apps/pkgcore/pkgcore-0.6.5-r1.ebuild b/sys-apps/pkgcore/pkgcore-0.6.5-r1.ebuild index ebbf25294540..2b3002544c87 100644 --- a/sys-apps/pkgcore/pkgcore-0.6.5-r1.ebuild +++ b/sys-apps/pkgcore/pkgcore-0.6.5-r1.ebuild @@ -1,6 +1,6 @@ # 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.5-r1.ebuild,v 1.1 2011/06/24 19:51:26 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.6.5-r1.ebuild,v 1.2 2011/08/06 08:59:27 ferringb Exp $ EAPI="3" DISTUTILS_SRC_TEST="setup.py" @@ -8,8 +8,8 @@ DISTUTILS_SRC_TEST="setup.py" inherit eutils distutils DESCRIPTION="pkgcore package manager" -HOMEPAGE="http://www.pkgcore.org" -SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2" +HOMEPAGE="http://pkgcore.googlecode.com/" +SRC_URI="http://pkgcore.googlecode.com/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" diff --git a/sys-apps/pkgcore/pkgcore-0.6.6.ebuild b/sys-apps/pkgcore/pkgcore-0.6.6.ebuild index 2a5cce80ff0f..d017cd268bc6 100644 --- a/sys-apps/pkgcore/pkgcore-0.6.6.ebuild +++ b/sys-apps/pkgcore/pkgcore-0.6.6.ebuild @@ -1,6 +1,6 @@ # 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.6.ebuild,v 1.1 2011/07/11 08:52:00 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.6.6.ebuild,v 1.2 2011/08/06 08:59:27 ferringb Exp $ EAPI="3" DISTUTILS_SRC_TEST="setup.py" @@ -8,8 +8,8 @@ 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" +HOMEPAGE="http://pkgcore.googlecode.com/" +SRC_URI="http://pkgcore.googlecode.com/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild new file mode 100644 index 000000000000..0c368a4461ea --- /dev/null +++ b/sys-apps/pkgcore/pkgcore-9999.ebuild @@ -0,0 +1,78 @@ +# 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-9999.ebuild,v 1.1 2011/08/06 08:59:27 ferringb Exp $ + +EAPI="3" +DISTUTILS_SRC_TEST="setup.py" + +EGIT_REPO_URI="http://googlecode.com/p/pkgcore" +inherit distutils git-2 + +DESCRIPTION="pkgcore package manager" +HOMEPAGE="http://pkgcore.googlecode.com/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +RDEPEND=">=dev-lang/python-2.4 + >=dev-python/snakeoil-0.4.1 + dev-python/pyparsing + || ( >=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 +} |