diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-05 22:20:00 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-05 22:50:35 +0100 |
commit | 089c1b61a5ec35596a68a4ee744476f5e7b55a70 (patch) | |
tree | 1759ac35f1d09d37269d426c495445f9f7fb4a1e | |
parent | sys-apps/pkgcore: Bump to 0.11.4 (diff) | |
download | gentoo-089c1b61a5ec35596a68a4ee744476f5e7b55a70.tar.gz gentoo-089c1b61a5ec35596a68a4ee744476f5e7b55a70.tar.bz2 gentoo-089c1b61a5ec35596a68a4ee744476f5e7b55a70.zip |
dev-util/pkgcheck: Bump to 0.9.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-util/pkgcheck/Manifest | 1 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-0.9.1.ebuild | 59 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-9999.ebuild | 11 |
3 files changed, 68 insertions, 3 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index eaa56a89e2b0..99bf90f34aa5 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -3,3 +3,4 @@ DIST pkgcheck-0.7.9.tar.gz 275854 BLAKE2B 4a98d801fc4e628f6b116fa6d05a5e31bf259f DIST pkgcheck-0.8.1.tar.gz 455289 BLAKE2B 5e0999c4348e4707e917b511718d378bd7cbb337aaae1fdb437b5bca5f4f795a65bebdf58f11e72b2b737e019a02a9b970636130b0712751ce9bf9ae9d023018 SHA512 16af41bede87b065cae59e5232707d272ad7c66ad1bac4bf4c3e4b727671be4a30d1e7d5408c29c5b288bfae8fac98829ae96b040c706deda95e670df095d022 DIST pkgcheck-0.8.2.tar.gz 455039 BLAKE2B 282c75578cd4aa7aca3f54e9625360cde4d7146cc08a6b2bcf2f594b21b6224a18e0623055e8aa866e89583b9fd6ec12749aa4bba791f06a851b1b43fe60d440 SHA512 3377060dae6e2c49d5ae6f2dbb883da4ddeab35ecd04133635f3a91f5bfb63177497b8843445914132539efc461ce0ea89bd5d07d3cba49e0854b91d7e2f74ce DIST pkgcheck-0.9.0.tar.gz 585528 BLAKE2B f9fa2d11b9510d84b5d9381ff033de14ca5ec74cf84d50f3f8847c1585c38bd02f534b09cc017e04d6f322ebd95c8396d95eca299ed1327cd25fab9e42973be3 SHA512 a6778785c23eacd80df555c77c8a77ef66b16e2a601fbd9405f85ce8520079a6f1366aeede3a1758abc8db606bc4608cb4a7e1ad421a8416bdb35b3ff3af9d6f +DIST pkgcheck-0.9.1.tar.gz 591753 BLAKE2B e4c8840c022b77dde34ad461367eb1947f269c8a0ff12e9dee2c8e373d1926f58f9d104571bc5de233975eda73509bf39eec533de03f78cf82fa41bbd10bcc74 SHA512 9adcf2fd5b9652e834f96f8a7652c97d28c4ec5a8b8704cd4c7c4ef8463237fc15f4c46e36993d0e72de5aab068b108368378d5481cf4d5df974e4a78adf6072 diff --git a/dev-util/pkgcheck/pkgcheck-0.9.1.ebuild b/dev-util/pkgcheck/pkgcheck-0.9.1.ebuild new file mode 100644 index 000000000000..7bf477d198f4 --- /dev/null +++ b/dev-util/pkgcheck/pkgcheck-0.9.1.ebuild @@ -0,0 +1,59 @@ +# 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 ~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.3[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.11.4[${PYTHON_USEDEP}]" +fi +RDEPEND+=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/lazy-object-proxy[${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 + +src_test() { + local -x PYTHONDONTWRITEBYTECODE= + distutils-r1_src_test +} + +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 b03c865b49e3..7bf477d198f4 100644 --- a/dev-util/pkgcheck/pkgcheck-9999.ebuild +++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild @@ -10,7 +10,7 @@ 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" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" fi @@ -26,8 +26,8 @@ if [[ ${PV} == *9999 ]]; then ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" else RDEPEND=" - >=dev-python/snakeoil-0.9.0[${PYTHON_USEDEP}] - >=sys-apps/pkgcore-0.11.1[${PYTHON_USEDEP}]" + >=dev-python/snakeoil-0.9.3[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.11.4[${PYTHON_USEDEP}]" fi RDEPEND+=" dev-python/chardet[${PYTHON_USEDEP}] @@ -42,6 +42,11 @@ BDEPEND=" distutils_enable_tests setup.py +src_test() { + local -x PYTHONDONTWRITEBYTECODE= + distutils-r1_src_test +} + python_install_all() { local DOCS=( NEWS.rst ) [[ ${PV} == *9999 ]] || doman man/* |