diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-01-29 19:55:05 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-01-29 20:16:35 +0100 |
commit | 19c78e39f7a3ea0913e8935ef168e1f6815cceeb (patch) | |
tree | 299a7947535faece750e66128215cef1b7a8ad37 /dev-util/pkgcheck | |
parent | sys-apps/pkgcore: Bump to 0.11.1 (diff) | |
download | gentoo-19c78e39f7a3ea0913e8935ef168e1f6815cceeb.tar.gz gentoo-19c78e39f7a3ea0913e8935ef168e1f6815cceeb.tar.bz2 gentoo-19c78e39f7a3ea0913e8935ef168e1f6815cceeb.zip |
dev-util/pkgcheck: Bump to 0.8.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/pkgcheck')
-rw-r--r-- | dev-util/pkgcheck/Manifest | 1 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-0.8.1.ebuild | 53 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-9999.ebuild | 2 |
3 files changed, 55 insertions, 1 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index 49d7ffd0f8b6..3d2b8ff0492d 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -1,2 +1,3 @@ DIST pkgcheck-0.7.7.tar.gz 236359 BLAKE2B 46628e6fe1ab711773209785f3160ad5521f7173a676363a44102bd26b443eafe4f88829d9a6c9cf10538ebfa7ca8b28cb8c27f9719f98217ff626d1b5a9a0b3 SHA512 ac88a3aa689983bfac0efa85240e3a02c822a075095ff9940fac0cdc188428126e7612807e57a7582f21fcf1d668dba29d4785d062d757f6444fa024d0437751 DIST pkgcheck-0.7.9.tar.gz 275854 BLAKE2B 4a98d801fc4e628f6b116fa6d05a5e31bf259f7774fc724c5ca497ea29c5e475a4679fdc4d5c2256de307af740c7bdb95a1d10e30adba94e8336a1e8a3657838 SHA512 1af7d90dcc1c13882f946f470746f7d03638762ed12d97094977c05eb11208f00a19d3a8789ce074efcc91e15258ac784027018016487213ae17e91ed6916630 +DIST pkgcheck-0.8.1.tar.gz 455289 BLAKE2B 5e0999c4348e4707e917b511718d378bd7cbb337aaae1fdb437b5bca5f4f795a65bebdf58f11e72b2b737e019a02a9b970636130b0712751ce9bf9ae9d023018 SHA512 16af41bede87b065cae59e5232707d272ad7c66ad1bac4bf4c3e4b727671be4a30d1e7d5408c29c5b288bfae8fac98829ae96b040c706deda95e670df095d022 diff --git a/dev-util/pkgcheck/pkgcheck-0.8.1.ebuild b/dev-util/pkgcheck/pkgcheck-0.8.1.ebuild new file mode 100644 index 000000000000..8f19d2338355 --- /dev/null +++ b/dev-util/pkgcheck/pkgcheck-0.8.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_IN_SOURCE_BUILD=1 +inherit distutils-r1 optfeature + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcore/pkgcheck.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="pkgcore-based QA utility for ebuild repos" +HOMEPAGE="https://github.com/pkgcore/pkgcheck" + +LICENSE="BSD MIT" +SLOT="0" + +if [[ ${PV} == *9999 ]]; then + RDEPEND=" + ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] + ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" +else + RDEPEND=" + >=dev-python/snakeoil-0.9.0[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.11.1[${PYTHON_USEDEP}]" +fi +RDEPEND+=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pathspec[${PYTHON_USEDEP}] + dev-python/tree-sitter[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests setup.py + +python_install_all() { + local DOCS=( NEWS.rst ) + [[ ${PV} == *9999 ]] || doman man/* + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Network check support" dev-python/requests + optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version +} diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild index 1fba97972fb5..8f19d2338355 100644 --- a/dev-util/pkgcheck/pkgcheck-9999.ebuild +++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild @@ -27,7 +27,7 @@ if [[ ${PV} == *9999 ]]; then else RDEPEND=" >=dev-python/snakeoil-0.9.0[${PYTHON_USEDEP}] - >=sys-apps/pkgcore-0.11.0[${PYTHON_USEDEP}]" + >=sys-apps/pkgcore-0.11.1[${PYTHON_USEDEP}]" fi RDEPEND+=" dev-python/chardet[${PYTHON_USEDEP}] |