diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-28 08:31:11 +0100 |
commit | ad6182343997a405079870a2fe91c4e0c6b94595 (patch) | |
tree | 4aa7483cd0ad7de54338afc8e7971417abe1dd81 /dev-python/clang-python | |
parent | e8f81810baa21f490d6910e8e2d424546b72a333 (diff) |
gentoo resync : 25.09.2019
Diffstat (limited to 'dev-python/clang-python')
-rw-r--r-- | dev-python/clang-python/Manifest | 6 | ||||
-rw-r--r-- | dev-python/clang-python/clang-python-10.0.0.9999.ebuild | 6 | ||||
-rw-r--r-- | dev-python/clang-python/clang-python-9.0.0.9999.ebuild | 6 | ||||
-rw-r--r-- | dev-python/clang-python/clang-python-9.0.0.ebuild | 46 |
4 files changed, 56 insertions, 8 deletions
diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index c0a1279b87c6..4bd4b07a08e2 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -2,10 +2,12 @@ DIST cfe-6.0.1.src.tar.xz 11905772 BLAKE2B abb60e9f9827d1d8a24f0aaf8a1d1e3297929 DIST cfe-7.1.0.src.tar.xz 12487872 BLAKE2B ca6ec9e45b94823de1dabf9e68f0c97cdd40b5d2a5e5e15d4b2393f6d7fbdee72a541b957cc22ce4cb726d8ee7190228320941d5713aeb59695673b9e9070ceb SHA512 1cd0b80f32aa4de1118c0c676ba96b1fc78b7ff929b01b6589dfe9b4669e599ac8cfb8f5a0abcd3487594193a7dec06b29530ec3fc03042c20a160f0477a79fd DIST cfe-8.0.0.src.tar.xz 12868468 BLAKE2B 3cb96c95c4d9713feb7011e4f1ca24be3e7f6c9b458f6cd9e6905f99737312ca44cb701ed5871e47dd583145e5898d53a65c4cda6456af3d4ca31b670ed84409 SHA512 98e540222719716985e5d8439116e47469cb01201ea91d1da7e46cb6633da099688d9352c3b65e5c5f660cbbae353b3d79bb803fc66b3be663f2b04b1feed1c3 DIST cfe-8.0.1.src.tar.xz 12810056 BLAKE2B 88cee0b6daa477ca0473c76efc45beb634f6194ecd3f45aaec3791e26b203c5dbd33c649435e0d97924096a72c727d76915bffc0b7ea305f24d5e5f06389c4a0 SHA512 1227b2d32052c70b4b494659849000188fce46fc31a71f3352ba8457ac0b0b17e4bc7c8589874c8586d55aa808ee6c1fceb7df501aafa33599f8df7bfd2b791d -EBUILD clang-python-10.0.0.9999.ebuild 1059 BLAKE2B 38dedf48dafdcafbef15e24255df373c5ab288465a0bedc711ab0de1fe2a72d5377ea16c68af4519f2f763de32e4017251f55e9bed069c82be6d26eabd470948 SHA512 b86477f547cb290f61a5e7e975aec95583e30d43f78b2618d909bab333aa5e574ce5ea8e3197098d3e299387f1d6bbf8814da67a74da6e3dcb369bb77f1433f1 +DIST cfe-9.0.0.src.tar.xz 13533024 BLAKE2B 61fa57245d54930d09c2ff6024cdefb35592f7d1c644657b0aec9e7cc2dca29b45f08b8a2b716812025a438841e83ac3e30bb6f051498aa860533995ef7757b1 SHA512 83fcca5499102b375e620cdac97d75e6111ebed4ef10240859ddd8a88bc5b022703739d2eae0d8693c91892ad11fc6b531c0dbee62fbce68d3be595b94f0b1fe +EBUILD clang-python-10.0.0.9999.ebuild 1059 BLAKE2B d2ddab5fbcf32eeae0491fdb41aedc2b1535183ab790f73231d18d3383c3ec729924305b183ae1748e09ea85d50b5ab4ed72b708b541bbb2129ba614b5fc7888 SHA512 1e3f11cde1a1bbe15894d0155ccd0122f2bd05d849e16c2a37a97677249c780d94ed3f94d20f1def8b1034e346a2a71596b514e76af35fb199ca8817485c24d9 EBUILD clang-python-6.0.1.ebuild 1090 BLAKE2B c98cb3a9f8426a3ccf544884459a6e551ae22d51ae45843aa63daa10cf0da9bf4d22f9a1ec635e0dbd045d3d93a9349e79d8dea840bb846285ff07619215278f SHA512 0b274c8efda44e4d1a3f9de7cd5b8fac5bb0a60ea5b1878fe8c07df098abdfa9b8a2700debaad7f425951c4b5c4c336fc8661acd8bdac6da4ac97e152e6c13fd EBUILD clang-python-7.1.0.ebuild 1099 BLAKE2B 28f23947826044651ab666dffe31466f1c7f8000eec9f5f3fdaaaa6c5380400d144587c305aea974da935938e1c4921e434442cf5d57a8d611bc93b0f7e7c791 SHA512 3a05a76fe779227853c3ffaeb453b2980bc290b238527d89b1a1b3f5be07610b082369d7e42b3e09b26e8408c9db08b55236743dd3f36dfa26398a6bba6c2953 EBUILD clang-python-8.0.0.ebuild 1099 BLAKE2B 28f23947826044651ab666dffe31466f1c7f8000eec9f5f3fdaaaa6c5380400d144587c305aea974da935938e1c4921e434442cf5d57a8d611bc93b0f7e7c791 SHA512 3a05a76fe779227853c3ffaeb453b2980bc290b238527d89b1a1b3f5be07610b082369d7e42b3e09b26e8408c9db08b55236743dd3f36dfa26398a6bba6c2953 EBUILD clang-python-8.0.1.ebuild 1132 BLAKE2B 3eb755b1510d33954a3b0a3fe704755d095974642f445bdbbdd1ebd18163fd887e34d4054c87c869b093915c967c6198174f3001b2185f59a282a5dc0e85bbdd SHA512 cabf3b6ba8f05ab5c477e6e697d8c31b69ec5e99be2e5d162de29c63c3c65d3317616474e6863cba441b93caeaacc5cccf6d6ac123f0c718efecedb835e20d36 -EBUILD clang-python-9.0.0.9999.ebuild 1084 BLAKE2B 5cfa8935bd4d873e9c8c66f7340723525c0e583b7342725154c85f1e9aa1de58e4a242a0a0334002567bd253d8cd66513e40803dfcd28e6f9be76fc625f76b23 SHA512 9ce4a9f2e03fedfe40dbb7a7d19138e0382447e4f99648fbacc0419cb298c64deca82d29b8bf0c85ac1d5ad34f42e35208f152d16146ef9caa9f260f717885f8 +EBUILD clang-python-9.0.0.9999.ebuild 1084 BLAKE2B 21cf3f91928a3bdca3d6710983684965b1e1482eed624fb07a8923ee8fb600ea757f238b1c5e5ff26cb95788f8610336ef2cccadf626123df47fa17bc02cdc74 SHA512 2c5ca1cbbc34767d5e709eed66476bb6bf7806efaa003ab8167ce0ac06bc2c50747e95be21ff60c1c152d82ed733324277d0b801a97c43e6eee2ad8c19d6e37b +EBUILD clang-python-9.0.0.ebuild 1126 BLAKE2B 1390c35b8b4300ba173b6263b35cd186717ae703062611fe145028e63a21abf67b9269d576b4594204d8c286b19f23ef61c23ad193282bb1898a23e90082f419 SHA512 e1ff802046a141ce8f3ae3ac6b91a097feb2d3236cd750b2dc2124ebcf931b6421a8eb05c0faad7945cdf7fb9071cf1a516bb0d6b5b68f658768da44658db740 MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5 diff --git a/dev-python/clang-python/clang-python-10.0.0.9999.ebuild b/dev-python/clang-python/clang-python-10.0.0.9999.ebuild index ce6a903df4ab..5a65d445f01f 100644 --- a/dev-python/clang-python/clang-python-10.0.0.9999.ebuild +++ b/dev-python/clang-python/clang-python-10.0.0.9999.ebuild @@ -9,6 +9,8 @@ inherit git-r3 python-r1 DESCRIPTION="Python bindings for sys-devel/clang" HOMEPAGE="https://llvm.org/" SRC_URI="" +S=${WORKDIR}/${P}/bindings/python + EGIT_REPO_URI="https://git.llvm.org/git/clang.git https://github.com/llvm-mirror/clang.git" @@ -16,8 +18,8 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" KEYWORDS="" IUSE="test" -RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" # The module is opening libclang.so directly, and doing some blasphemy # on top of it. @@ -28,8 +30,6 @@ RDEPEND=" ${PYTHON_DEPS}" DEPEND="${RDEPEND}" -S=${WORKDIR}/${P}/bindings/python - src_unpack() { git-r3_fetch git-r3_checkout '' '' '' bindings/python diff --git a/dev-python/clang-python/clang-python-9.0.0.9999.ebuild b/dev-python/clang-python/clang-python-9.0.0.9999.ebuild index 70de2ed55129..d1c47b42ebfc 100644 --- a/dev-python/clang-python/clang-python-9.0.0.9999.ebuild +++ b/dev-python/clang-python/clang-python-9.0.0.9999.ebuild @@ -9,6 +9,8 @@ inherit git-r3 python-r1 DESCRIPTION="Python bindings for sys-devel/clang" HOMEPAGE="https://llvm.org/" SRC_URI="" +S=${WORKDIR}/${P}/bindings/python + EGIT_REPO_URI="https://git.llvm.org/git/clang.git https://github.com/llvm-mirror/clang.git" EGIT_BRANCH="release_90" @@ -17,8 +19,8 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" KEYWORDS="" IUSE="test" -RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" # The module is opening libclang.so directly, and doing some blasphemy # on top of it. @@ -29,8 +31,6 @@ RDEPEND=" ${PYTHON_DEPS}" DEPEND="${RDEPEND}" -S=${WORKDIR}/${P}/bindings/python - src_unpack() { git-r3_fetch git-r3_checkout '' '' '' bindings/python diff --git a/dev-python/clang-python/clang-python-9.0.0.ebuild b/dev-python/clang-python/clang-python-9.0.0.ebuild new file mode 100644 index 000000000000..63f0e576f048 --- /dev/null +++ b/dev-python/clang-python/clang-python-9.0.0.ebuild @@ -0,0 +1,46 @@ +# 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,3_6,3_7} ) +inherit python-r1 + +MY_P=cfe-${PV/_/}.src +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" +SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz" +S=${WORKDIR}/${MY_P}/bindings/python + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-fbsd" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +RDEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +src_unpack() { + einfo "Unpacking parts of ${MY_P}.tar.xz ..." + tar -xJf "${DISTDIR}/${MY_P}.tar.xz" "${MY_P}/bindings/python" || die +} + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} |