summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-09-13 11:37:37 -0600
committerTim Harder <radhermit@gentoo.org>2019-09-13 11:45:33 -0600
commit37c0571a56e03d3819b86e5e268fe13219026ea0 (patch)
tree0bebfd91da7e33150d3781a392cb6e62d2827357 /sys-apps/pkgcore
parentdev-python/snakeoil: version bump to 0.8.3 (diff)
downloadgentoo-37c0571a56e03d3819b86e5e268fe13219026ea0.tar.gz
gentoo-37c0571a56e03d3819b86e5e268fe13219026ea0.tar.bz2
gentoo-37c0571a56e03d3819b86e5e268fe13219026ea0.zip
sys-apps/pkgcore: version bump to 0.10.3
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.3.ebuild53
-rw-r--r--sys-apps/pkgcore/pkgcore-9999.ebuild4
3 files changed, 56 insertions, 2 deletions
diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest
index 03a0bc038bd2..4ecd34731f2e 100644
--- a/sys-apps/pkgcore/Manifest
+++ b/sys-apps/pkgcore/Manifest
@@ -1,2 +1,3 @@
DIST pkgcore-0.10.2.tar.gz 644452 BLAKE2B e89045c76e12cea3d4750e5a03a3c8a7fde16a497c8ccba4618f97235382a2708d0a83bc1d1f1fb6ef2ba3cbfd0c04dff00e8b29af2cc3571dd30c9ef7f2a608 SHA512 4242f08084234288eeecede1122fead03781c74764668683493873962cfc5972efefb553c1587c72b29939084d033cafa815e36787165f8d2124309989efcde6
+DIST pkgcore-0.10.3.tar.gz 644700 BLAKE2B f59e772898ae9e0cb379e31663b5716bdfdeb9d0aa71eacb835e76e92cd3c77b52cd0ec9ca709e1d6f54d7ee54aba700ebcf0eab95257faeafad7ea382e5b4ff SHA512 28bd95f7e4c478409b81662a6e4b012ce8cf5f019158d003321cffb5f0418ec84d62ac0b738d42fea46ab49402b7d98f909e6473be439e0e0a02f1dc662109e0
DIST pkgcore-0.9.7.tar.gz 592202 BLAKE2B fa16380e89ad2fb2a05d8f08387c3cfa2203b4e6faad3fc4758d572eb08d6c64f781eef8c2d56151f1facec3a202325d4c4a271a1a3ced88df7371f2af75dbf3 SHA512 cb996fd35a8e4e73acfacf1942d498932ec092a282397bd41df72eea26b6d08c15e01b96ece8ebb6876e84281d85d4f8ef81e1f2ef107adff1b984ee592d6a6f
diff --git a/sys-apps/pkgcore/pkgcore-0.10.3.ebuild b/sys-apps/pkgcore/pkgcore-0.10.3.ebuild
new file mode 100644
index 000000000000..670df92a2cf7
--- /dev/null
+++ b/sys-apps/pkgcore/pkgcore-0.10.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{6,7} )
+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.3[${PYTHON_USEDEP}]"
+fi
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/pytest[${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 9c3d2f6fb067..670df92a2cf7 100644
--- a/sys-apps/pkgcore/pkgcore-9999.ebuild
+++ b/sys-apps/pkgcore/pkgcore-9999.ebuild
@@ -17,7 +17,7 @@ fi
DESCRIPTION="a framework for package management"
HOMEPAGE="https://github.com/pkgcore/pkgcore"
-LICENSE="BSD"
+LICENSE="BSD MIT"
SLOT="0"
IUSE="doc test"
RESTRICT="!test? ( test )"
@@ -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.1[${PYTHON_USEDEP}]"
+ RDEPEND+=" >=dev-python/snakeoil-0.8.3[${PYTHON_USEDEP}]"
fi
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]