diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
commit | b284a3168fa91a038925d2ecf5e4791011ea5e7d (patch) | |
tree | 16fe44748708acacd909d4e2e160a09a7f6d936a /dev-python/kconfiglib | |
parent | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff) |
gentoo resync : 18.11.2019
Diffstat (limited to 'dev-python/kconfiglib')
-rw-r--r-- | dev-python/kconfiglib/Manifest | 2 | ||||
-rw-r--r-- | dev-python/kconfiglib/kconfiglib-13.2.0.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/kconfiglib/Manifest b/dev-python/kconfiglib/Manifest index f57046fc3b8a..633de1eba9cf 100644 --- a/dev-python/kconfiglib/Manifest +++ b/dev-python/kconfiglib/Manifest @@ -1,4 +1,6 @@ AUX kconfiglib-12.12.1-setup.patch 463 BLAKE2B f2e781ea3f2e28b308424b1688b9ccb575450bede07c4f00fb24a8196c3f8c514e3d4af222d86203f369e5dd9f2b97f778cddac757d1591d1c4af34a59e7e631 SHA512 c3d0c56bf3a84af57f0ef0fbdd987b3cfa8acdf1828efbb4e66d928256d47a64ad116cd7d9c66d19b5a8b1dc167603e0f8db1aeec2ddbcc0cec98235771e50f1 DIST kconfiglib-12.12.1.tar.gz 181307 BLAKE2B d256148bd6bf01f7951c78751604eae1be4c2fc156b815bdb570e6fcf185c2f5c97259f6ce0ed275104234ff7180afa2000a81feb281e745a8a0c4db162f57b9 SHA512 49e8746e6c83a93b7500130b21b864346ab8106c0c161de0ec62b3efff794080e734d34d88cd9c816c0d6514465729fbc3a4334fcc9c0a68f17c1688bb210325 +DIST kconfiglib-13.2.0.tar.gz 181115 BLAKE2B 81aeab65c4d7008dad33d508eb2be5ed53187943c1ec5112a87a47a5f9bb661c521b0d61a3da63da3233f168d62ab6bb5cdf6e3702e53f960159b7ca13c8a0cf SHA512 9d8c76014aa7faa93af216849859eca9bfdc0d4cd3e030e47b72acfdd4981ac1581747adf91bca58a4e8d86b151988309f36c3f94a1ebb216a1412fd004fafd2 EBUILD kconfiglib-12.12.1.ebuild 1049 BLAKE2B 34797f558424ea5b8a91ded661b7f180042c78d65dbae66ed37686ca4438066b9e53ff2795af642d96ca1e819d41f10668e47ee7b08e7a657b1227829d87c452 SHA512 ec2a600938d4a8296952aba0d88dbc03ce499824db71ab775ed923b4aa62af04de7928ce8919f262924d3ed10189254a3f860c1e8635e38456f1e7a199d34243 +EBUILD kconfiglib-13.2.0.ebuild 1007 BLAKE2B 14612230b04104b61d32aeeb17ba3984ef043ec9fca26dc766eae9cc85ba6a078bb2e1ed687bdcd2650484c06a0a74b3b2b25211fedbf0d83ebea65ce68b3e06 SHA512 de14015813ef853ab1cdb9773dee243e2075945621e8948ddd63af87afe8663ba6f764b1a7f9fd8372442d49b44f7f8c28a69865ed62676b6d2b14655bc28902 MISC metadata.xml 331 BLAKE2B cf19e7c3a4a2511e58382941904de06eb12e21c0a1f27c89fd3f61ff1e2f96d9e8509aba80f52080ce4a53da8f99e8a15685803b143fbc9071d33ae6e815a1e1 SHA512 453f9a6063705a3f9db24e5c0658e31c73d234dead14ccecd8d46fe56f26b16729f4f46c0ff7471689c60eef5d9c006b455a14f349f1249ae2e9f0b677ef80f8 diff --git a/dev-python/kconfiglib/kconfiglib-13.2.0.ebuild b/dev-python/kconfiglib/kconfiglib-13.2.0.ebuild new file mode 100644 index 000000000000..e519c27c57a6 --- /dev/null +++ b/dev-python/kconfiglib/kconfiglib-13.2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 + +DESCRIPTION="A flexible Python Kconfig implementation" +HOMEPAGE="https://github.com/ulfalizer/Kconfiglib https://pypi.org/project/kconfiglib/" +SRC_URI="https://github.com/ulfalizer/Kconfiglib/archive/v${PV}.tar.gz -> ${P}.tar.gz" +# pypi tarballs don't include tests +#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${BDEPEND}" + +S=${WORKDIR}/${P/k/K} + +python_prepare_all() { + distutils-r1_python_prepare_all + + # hacks to run tests + mkdir Kconfiglib || die + ln -s ../tests Kconfiglib || die + # don't run kernel Kconfig compat tests + sed -i 's/run_compatibility_tests()$/#\0/' testsuite.py || die +} + +python_test() { + "${PYTHON}" testsuite.py || die "tests failed with ${EPYTHON}" +} |