diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-09-22 17:58:03 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-09-22 18:00:47 -0400 |
commit | 6dea9d96f701b79445f610433ffc3235de049c0a (patch) | |
tree | 9856e38633591b9b208b7bfd8bfdc75afb46bbcc /sys-apps/pkgcore | |
parent | dev-python/pychroot: version bump to 0.9.17 (diff) | |
download | gentoo-6dea9d96f701b79445f610433ffc3235de049c0a.tar.gz gentoo-6dea9d96f701b79445f610433ffc3235de049c0a.tar.bz2 gentoo-6dea9d96f701b79445f610433ffc3235de049c0a.zip |
sys-apps/pkgcore: version bump to 0.9.6
Diffstat (limited to 'sys-apps/pkgcore')
-rw-r--r-- | sys-apps/pkgcore/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-0.9.6.ebuild | 62 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-9999.ebuild | 8 |
3 files changed, 69 insertions, 2 deletions
diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest index 349448fd7637..0dde416a0306 100644 --- a/sys-apps/pkgcore/Manifest +++ b/sys-apps/pkgcore/Manifest @@ -1 +1,2 @@ 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 diff --git a/sys-apps/pkgcore/pkgcore-0.9.6.ebuild b/sys-apps/pkgcore/pkgcore-0.9.6.ebuild new file mode 100644 index 000000000000..90e0d7765780 --- /dev/null +++ b/sys-apps/pkgcore/pkgcore-0.9.6.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.2[${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 984fa1f542f0..90e0d7765780 100644 --- a/sys-apps/pkgcore/pkgcore-9999.ebuild +++ b/sys-apps/pkgcore/pkgcore-9999.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" - SRC_URI="https://github.com/pkgcore/${PN}/releases/download/v${PV}/${P}.tar.gz" + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" fi DESCRIPTION="a framework for package management" @@ -26,7 +26,11 @@ if [[ ${PV} == *9999 ]] ; then else SPHINX="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" fi -RDEPEND="=dev-python/snakeoil-9999[${PYTHON_USEDEP}]" +if [[ ${PV} == *9999 ]]; then + RDEPEND="=dev-python/snakeoil-9999[${PYTHON_USEDEP}]" +else + RDEPEND=">=dev-python/snakeoil-0.7.2[${PYTHON_USEDEP}]" +fi DEPEND="${RDEPEND} ${SPHINX} dev-python/setuptools[${PYTHON_USEDEP}] |