summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-11-30 17:38:40 -0700
committerTim Harder <radhermit@gentoo.org>2019-11-30 22:31:45 -0700
commit5b3acd6c309432bf15475953a31d2f47e873b538 (patch)
tree4bf3b2ff06a7cac9db200b38e51e943eb010fae1 /sys-apps/pkgcore
parentdev-python/snakeoil: version bump to 0.8.4 (diff)
downloadgentoo-5b3acd6c309432bf15475953a31d2f47e873b538.tar.gz
gentoo-5b3acd6c309432bf15475953a31d2f47e873b538.tar.bz2
gentoo-5b3acd6c309432bf15475953a31d2f47e873b538.zip
sys-apps/pkgcore: version bump to 0.10.8
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'sys-apps/pkgcore')
-rw-r--r--sys-apps/pkgcore/Manifest1
-rw-r--r--sys-apps/pkgcore/pkgcore-0.10.8.ebuild58
-rw-r--r--sys-apps/pkgcore/pkgcore-9999.ebuild2
3 files changed, 60 insertions, 1 deletions
diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest
index 8425916d8da4..35979e96101e 100644
--- a/sys-apps/pkgcore/Manifest
+++ b/sys-apps/pkgcore/Manifest
@@ -1,3 +1,4 @@
DIST pkgcore-0.10.6.tar.gz 645141 BLAKE2B 16723dfae157c809e53f8607bd72ee178ac23280c1eea2f73af4864521aa4c5d7026972e85ab0ca92d3d714819ee24e86a3154ed2ed7f5d619ac7863b58c3436 SHA512 c5221cc7a72f5c3ae76ad1ce59a6b46f8b066991df9766f59b08d8514b6bb5336d8bef217c343d97ff764eb7b3614197f7613d5dfac52360603298dc06f6d7ea
DIST pkgcore-0.10.7.tar.gz 645474 BLAKE2B 3c311967cd2b4e29a45fbf4f2af9207c20f2401780fc3991c726917d103d6e59e951172280c212c7dd46db33defbfd6aad1a55da4d02484b8963ab8049b86c6a SHA512 91910c9b7ec02396e1e0ff2a23a18757749fea635e3e294131d736eeee8d67bd58e9b5f1de7440e50d926291dd3ed36dc7381a29f7ac9b58c27cf4f3fc49ee45
+DIST pkgcore-0.10.8.tar.gz 643637 BLAKE2B 191f0c0bfcc0eb6b684001ba4c06393f6010ad2171b0be695c1aceeae3973717c7bc59bb5848d85797508fdbac5645cac228df7d6b9bc9aebcc98ca69243e533 SHA512 607b921b05c833a0c199abbfc4a4afe282935dc6e67904f9cc0588bdd4b2e872c1cffa5ebf0e6aad04912b362c67dc2b29794c3be5410dd019797b447a0ed3d5
DIST pkgcore-0.9.7.tar.gz 592202 BLAKE2B fa16380e89ad2fb2a05d8f08387c3cfa2203b4e6faad3fc4758d572eb08d6c64f781eef8c2d56151f1facec3a202325d4c4a271a1a3ced88df7371f2af75dbf3 SHA512 cb996fd35a8e4e73acfacf1942d498932ec092a282397bd41df72eea26b6d08c15e01b96ece8ebb6876e84281d85d4f8ef81e1f2ef107adff1b984ee592d6a6f
diff --git a/sys-apps/pkgcore/pkgcore-0.10.8.ebuild b/sys-apps/pkgcore/pkgcore-0.10.8.ebuild
new file mode 100644
index 000000000000..b6a40d771d58
--- /dev/null
+++ b/sys-apps/pkgcore/pkgcore-0.10.8.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{6,7,8} )
+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 MIT"
+SLOT="0"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
+if [[ ${PV} == *9999 ]]; then
+ RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
+else
+ RDEPEND+=" >=dev-python/snakeoil-0.8.4[${PYTHON_USEDEP}]"
+fi
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+python_check_deps() {
+ use doc || return 0
+ has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+}
+
+python_compile_all() {
+ local esetup_args=( $(usex doc "--enable-html-docs" "") )
+ # only build man pages for live ebuilds if doc USE flag is enabled
+ [[ ${PV} == *9999 ]] && esetup_args+=( $(usex doc "--enable-man-pages" "") )
+ esetup.py build "${esetup_args[@]}"
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ esetup.py install_docs \
+ --docdir="${ED%/}/usr/share/doc/${PF}" \
+ --mandir="${ED%/}/usr/share/man"
+ distutils-r1_python_install_all
+}
diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild
index f4d238d16460..b6a40d771d58 100644
--- a/sys-apps/pkgcore/pkgcore-9999.ebuild
+++ b/sys-apps/pkgcore/pkgcore-9999.ebuild
@@ -26,7 +26,7 @@ RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
if [[ ${PV} == *9999 ]]; then
RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
else
- RDEPEND+=" >=dev-python/snakeoil-0.8.3[${PYTHON_USEDEP}]"
+ RDEPEND+=" >=dev-python/snakeoil-0.8.4[${PYTHON_USEDEP}]"
fi
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]