diff options
Diffstat (limited to 'dev-util/pkgcheck')
-rw-r--r-- | dev-util/pkgcheck/Manifest | 4 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-0.7.9.ebuild | 57 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-9999.ebuild | 11 |
3 files changed, 66 insertions, 6 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index f75ab4121eed..a82d4456ec19 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -1,4 +1,6 @@ DIST pkgcheck-0.7.7.tar.gz 236359 BLAKE2B 46628e6fe1ab711773209785f3160ad5521f7173a676363a44102bd26b443eafe4f88829d9a6c9cf10538ebfa7ca8b28cb8c27f9719f98217ff626d1b5a9a0b3 SHA512 ac88a3aa689983bfac0efa85240e3a02c822a075095ff9940fac0cdc188428126e7612807e57a7582f21fcf1d668dba29d4785d062d757f6444fa024d0437751 +DIST pkgcheck-0.7.9.tar.gz 275854 BLAKE2B 4a98d801fc4e628f6b116fa6d05a5e31bf259f7774fc724c5ca497ea29c5e475a4679fdc4d5c2256de307af740c7bdb95a1d10e30adba94e8336a1e8a3657838 SHA512 1af7d90dcc1c13882f946f470746f7d03638762ed12d97094977c05eb11208f00a19d3a8789ce074efcc91e15258ac784027018016487213ae17e91ed6916630 EBUILD pkgcheck-0.7.7.ebuild 1414 BLAKE2B 01638e4375ff92e362b168ffae6c79b3f736232701e0b391458eea12060d8445190781f7d81bf0db6506f7d4cc7ee2f64276184d01cab4eeda2c26ccb0c8a981 SHA512 fd0c558a38cac10ed4c8a9ebd63df097d48d41bac5f52a7aa94d9e48685cc1c0f9d76922f1cc2bc386824ca182131c6957c4aac4d98882e32700e101412e1908 -EBUILD pkgcheck-9999.ebuild 1411 BLAKE2B f5f24d58e52919909b9b3fe9ef9f83d9a87e0cf86e5793b0cc5cbfb48236405f440f3fd2ec90dbf6100c24a77636a7af74b10cd7bea2a0547f4a823757acaab6 SHA512 9eb21a1fb70ddb97c087391785d168c567fc5be55eda21abb9c2573318e990cc28e93ab16710e64ba40051bb3a7cbe791d8a6acf5586aa0193d7bdc1370f0270 +EBUILD pkgcheck-0.7.9.ebuild 1422 BLAKE2B b003499b4686b50a1129e81450e3f92394922841284796729ed6e3e7e1d8bc8ad396334844f797496eb13a6f61e2e0bb3f1b35929fc9e1d4fa2a11735708abe2 SHA512 3cf15a66e2c9bfa159b1a51001eb0c0ebecd99ad0e47d7731d5345cf2ddac734f1a0ab88a20eedadb2ae955c6dfa7bcbe017dce0872076c938284b9fca917a25 +EBUILD pkgcheck-9999.ebuild 1468 BLAKE2B e86c456ffd7e7ad84e3d50f2a01236e32c0d561899a3bf92dc68dbb602aa33f75aaba166ea31ce9b5466102523940dee727104294f2d7e1c2e9b883b28397e1f SHA512 dabe7b1a9a7e77fa920c25585a9c387abb3fe05a637c1360eccbdfe589b879e18b1e84fb5ff29be4f83b77a624fb772e019ed252a531052194eca55a93ac1e7c MISC metadata.xml 328 BLAKE2B b84dba717460e84f7ee3163fd8d6a5f13eb3b15dd1bb749f6ece81f062e3530988dacefadb24c1395eb36593a7ab6d868b06c8c4ee8f620a17c85faf04283b24 SHA512 5696505214a737ad495b23bfac2a51fbbc5b1e815eb6fcbabb3c6674325f05e3f6f418de05257c08935e389e47879e8a2d1b3723ec86aeb5ad97c6110fd2ec75 diff --git a/dev-util/pkgcheck/pkgcheck-0.7.9.ebuild b/dev-util/pkgcheck/pkgcheck-0.7.9.ebuild new file mode 100644 index 000000000000..72a9c7ce56f1 --- /dev/null +++ b/dev-util/pkgcheck/pkgcheck-0.7.9.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{6..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" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +if [[ ${PV} == *9999 ]]; then + RDEPEND=" + ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] + ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" +else + RDEPEND=" + >=dev-python/snakeoil-0.8.9[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.10.14[${PYTHON_USEDEP}]" +fi +RDEPEND+=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pathspec[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +python_test() { + esetup.py 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 2ef90f0d26cc..ae82d9f6d150 100644 --- a/dev-util/pkgcheck/pkgcheck-9999.ebuild +++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{6..9} ) +PYTHON_COMPAT=( python3_{8..9} ) DISTUTILS_IN_SOURCE_BUILD=1 inherit distutils-r1 optfeature @@ -10,14 +10,14 @@ 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" + 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" +LICENSE="BSD MIT" SLOT="0" IUSE="test" RESTRICT="!test? ( test )" @@ -28,13 +28,14 @@ if [[ ${PV} == *9999 ]]; then ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" else RDEPEND=" - >=dev-python/snakeoil-0.8.8[${PYTHON_USEDEP}] - >=sys-apps/pkgcore-0.10.13[${PYTHON_USEDEP}]" + >=dev-python/snakeoil-0.8.9[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.10.14[${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}] " DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] |