summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-09-27 04:59:06 -0400
committerTim Harder <radhermit@gentoo.org>2017-09-27 05:00:29 -0400
commit37dc12a72482d4879fb6e92527f29e7ed3bb8ce1 (patch)
tree7b352695430e277abb1ddf83a3fe073edc55277c /sys-apps/pkgcore
parentdev-python/snakeoil: version bump to 0.7.3 (diff)
downloadgentoo-37dc12a72482d4879fb6e92527f29e7ed3bb8ce1.tar.gz
gentoo-37dc12a72482d4879fb6e92527f29e7ed3bb8ce1.tar.bz2
gentoo-37dc12a72482d4879fb6e92527f29e7ed3bb8ce1.zip
sys-apps/pkgcore: version bump to 0.9.7
Diffstat (limited to 'sys-apps/pkgcore')
-rw-r--r--sys-apps/pkgcore/Manifest1
-rw-r--r--sys-apps/pkgcore/pkgcore-0.9.7.ebuild62
-rw-r--r--sys-apps/pkgcore/pkgcore-9999.ebuild2
3 files changed, 64 insertions, 1 deletions
diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest
index 0dde416a0306..50aa14988c5f 100644
--- a/sys-apps/pkgcore/Manifest
+++ b/sys-apps/pkgcore/Manifest
@@ -1,2 +1,3 @@
DIST pkgcore-0.9.4.tar.gz 593025 SHA256 741ec7df34b0b25e914adeadb8f0045ed077a79cfe65d2cf84fb2426373ed826 SHA512 c38fb5e4860e9b0442acfa60c431464b69791ffb2e6fe2429ae832c3ca66a54f4d263c031e6f72ae39080dd72b1058d93a5707009c1f9d9d02247b24f6001043 WHIRLPOOL 5367b3f272391bbc43b187880112242f007d538a75010ddaf021e80c56ec79f3a4b1937263dd65d8ba9faec80ca1d64b29e141618f4304433bb18b5e3ccb2f04
DIST pkgcore-0.9.6.tar.gz 591587 SHA256 1b05785c793deceef7b0365fb53c3fc4252771529b75f095674508b2f932a85b SHA512 abc901a739fb56aa4b77f4d0696bbdda4e56e52b1b5343a83ad4e38468f1630f8445930ef37d474c492d1f88f12d3ade39bac5709fe6c99cd1fee688899b6900 WHIRLPOOL 0429eb11aa5b558512cb3a32efcdd1fe57a3f70b5602c7d766745d82560f2316b590f0413fac40fddbfa7f928e21e49399a8682cf48267c8b539889bf69c748c
+DIST pkgcore-0.9.7.tar.gz 592202 SHA256 e14ab7ee3873e723c4956d5d370d60389d5b36f74d7beaff5c3b1455814a18fd SHA512 cb996fd35a8e4e73acfacf1942d498932ec092a282397bd41df72eea26b6d08c15e01b96ece8ebb6876e84281d85d4f8ef81e1f2ef107adff1b984ee592d6a6f WHIRLPOOL a669eede43a4e8e51e6d48671f3ad359b41165adff60773318849ee7da127e4c6497ab2c607fba496f928c3841c09adf8ebe406af9cd6436b73f98173cc5d911
diff --git a/sys-apps/pkgcore/pkgcore-0.9.7.ebuild b/sys-apps/pkgcore/pkgcore-0.9.7.ebuild
new file mode 100644
index 000000000000..90d96abc2cdf
--- /dev/null
+++ b/sys-apps/pkgcore/pkgcore-0.9.7.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit distutils-r1
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/pkgcore/pkgcore.git"
+ inherit git-r3
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+fi
+
+DESCRIPTION="a framework for package management"
+HOMEPAGE="https://github.com/pkgcore/pkgcore"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+IUSE="doc test"
+
+if [[ ${PV} == *9999 ]] ; then
+ SPHINX="dev-python/sphinx[${PYTHON_USEDEP}]"
+else
+ SPHINX="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+fi
+if [[ ${PV} == *9999 ]]; then
+ RDEPEND="=dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
+else
+ RDEPEND=">=dev-python/snakeoil-0.7.3[${PYTHON_USEDEP}]"
+fi
+DEPEND="${RDEPEND}
+ ${SPHINX}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]
+ test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )
+"
+
+pkg_setup() {
+ # disable snakeoil 2to3 caching...
+ unset PY2TO3_CACHEDIR
+}
+
+python_compile_all() {
+ esetup.py build_man $(usex doc "build_docs" "")
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ distutils-r1_python_install install_man \
+ $(usex doc "install_docs --path="${ED%/}"/usr/share/doc/${PF}/html" "")
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ python_foreach_impl pplugincache
+}
diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild
index 90e0d7765780..90d96abc2cdf 100644
--- a/sys-apps/pkgcore/pkgcore-9999.ebuild
+++ b/sys-apps/pkgcore/pkgcore-9999.ebuild
@@ -29,7 +29,7 @@ fi
if [[ ${PV} == *9999 ]]; then
RDEPEND="=dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
else
- RDEPEND=">=dev-python/snakeoil-0.7.2[${PYTHON_USEDEP}]"
+ RDEPEND=">=dev-python/snakeoil-0.7.3[${PYTHON_USEDEP}]"
fi
DEPEND="${RDEPEND}
${SPHINX}