[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-04-18 Thread Michał Górny
commit: ff2b7b6f37a1f81bbceb71c4018fa494f5679279
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 18 11:29:29 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 18 18:13:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2b7b6f

dev-python/clang-python: Add 18.1.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-18.1.4.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 5f8ec851a9f6..6dab866d637b 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,5 +7,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
 DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
+DIST llvm-project-18.1.4.src.tar.xz 132054668 BLAKE2B 
94bbad3b185fd07cbace4eff79aba80fbdd5e072739250e3927fe1848bcf3f8d355eb1f384e57306707eb702acc7ab01b732590735be7950221607664d04b0a6
 SHA512 
b1b214ae91f3705d8ea345547ad53f1e5d7d884c1eb6958bc41c14ac4b3e407771ccc2b693686ff103c8232c2c3942731d6db9a9cb4f735e6c6a0674739d0b29
+DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb25c40e9d8d2c7341de0215d8c31f330f396e9c166ff63513829cdc9cef349f08238f66a4dc949fa97958a7af496abae369eaa
 SHA512 
4f456edf4fb454815acaef6855b1a0991f229810a32e9369af83388e37f0ef8964308e1e93bd6216024cdd67e86caaadc8d5794467857cc6fe561c9fa6ca7386
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
 DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1

diff --git a/dev-python/clang-python/clang-python-18.1.4.ebuild 
b/dev-python/clang-python/clang-python-18.1.4.ebuild
new file mode 100644
index ..92a6321a504f
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.1.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-04-10 Thread Michał Górny
commit: 776ecffe48c245de72c7c737e81ad5de989c8971
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 10 09:52:45 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 10 11:09:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776ecffe

dev-python/clang-python: Add 19.0.0_pre20240410 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240410.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 2023c0295326..5f8ec851a9f6 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
 DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
+DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240410.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240410.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240410.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-04-06 Thread Michał Górny
commit: 6d0bfd83f6aa28484854cd3fa72cc13eb68b1b41
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 13:04:02 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 13:43:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d0bfd83

dev-python/clang-python: Add 19.0.0_pre20240404 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240404.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 1b7e8e5bb72e..2023c0295326 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -1,3 +1,4 @@
+DIST llvm-project-12735916bd3a63aa9f316af8eebfe9420cfec489.tar.gz 208645973 
BLAKE2B 
4a64dcaa15cb592634eceb384ecfc11173dbf0285402c32be2b8056374bb8ecef8fa1055fbe353a0836c84b75736cc05f3a14428bc431c18362cfaa7bf96a50a
 SHA512 
ee42f7db322c84dfae3c67ffcfff2ee8d56d6bd4a0412b6bd4f8952ac1da4d57d18fa38011fe514631363b4cc143327be887792dd2e9562942261c99e655d948
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240404.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240404.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240404.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-04-05 Thread Michał Górny
commit: 376243fb4f51744c976ae99d21bbd1197f7790e6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 04:55:08 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 04:55:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=376243fb

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  4 --
 dev-python/clang-python/clang-python-18.1.2.ebuild | 54 --
 .../clang-python-19.0.0_pre20240316.ebuild | 53 -
 .../clang-python-19.0.0_pre20240322.ebuild | 53 -
 4 files changed, 164 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 4c7a1bdae9bd..1b7e8e5bb72e 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,10 +4,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
-DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
 DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
-DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
-DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git a/dev-python/clang-python/clang-python-18.1.2.ebuild 
b/dev-python/clang-python/clang-python-18.1.2.ebuild
deleted file mode 100644
index 92a6321a504f..
--- a/dev-python/clang-python/clang-python-18.1.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-04-04 Thread Michał Górny
commit: e8f28830ed0c243922baca7d72be9e989afed41a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  4 17:44:51 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  4 18:08:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8f28830

dev-python/clang-python: Add 18.1.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-18.1.3.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 68777e30fb2b..4c7a1bdae9bd 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,6 +6,8 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
+DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
+DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
 DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git a/dev-python/clang-python/clang-python-18.1.3.ebuild 
b/dev-python/clang-python/clang-python-18.1.3.ebuild
new file mode 100644
index ..92a6321a504f
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.1.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${EPYTHON}" -m unittest discover -v || die "Tests fail with 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-03-30 Thread Michał Górny
commit: 653b71de4656ce5d3dd6380238dce6e97cf25d43
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 30 10:21:37 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 30 10:27:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=653b71de

dev-python/clang-python: Add 19.0.0_pre20240330 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240330.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index beaf87582ac7..68777e30fb2b 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,4 +7,5 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
+DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
 DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240330.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240330.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240330.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-03-23 Thread Michał Górny
commit: 899c68cce8120ddafed5690672c33b377a8e50b7
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 23 16:07:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 23 17:03:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899c68cc

dev-python/clang-python: Add 19.0.0_pre20240322 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240322.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index ddcd0b8e3d77..beaf87582ac7 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
+DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240322.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240322.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240322.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-03-23 Thread Michał Górny
commit: 53cde1cc621b5f05356bc5da2cde5ec8dec362e3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 23 06:48:57 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 23 06:48:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53cde1cc

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  4 --
 dev-python/clang-python/clang-python-18.1.0.ebuild | 54 --
 .../clang-python-19.0.0_pre20240302.ebuild | 53 -
 .../clang-python-19.0.0_pre20240309.ebuild | 53 -
 4 files changed, 164 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 897babe9b1ec..ddcd0b8e3d77 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,10 +4,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46c46f9b78fe764dc6c45e016b3d39006dac40af4cae2e01d07131785711913f311d944e9817036b20b08366382e83f3d4093814
 SHA512 
b94f837ff0e1aafdd4939e6e50740c8ab6af602b182357ae495359301a6d5fadaa997014895b90e0c91a715c713218396bb10687167ef30b17ebeccf310f2adf
-DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
-DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
-DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490

diff --git a/dev-python/clang-python/clang-python-18.1.0.ebuild 
b/dev-python/clang-python/clang-python-18.1.0.ebuild
deleted file mode 100644
index 92a6321a504f..
--- a/dev-python/clang-python/clang-python-18.1.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-03-20 Thread Michał Górny
commit: f65ac55d4ea759cb0d0a9e911dcc16e7d596d49b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 20 06:36:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 20 12:50:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f65ac55d

dev-python/clang-python: Add 18.1.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-18.1.2.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index c195e0b4d1a8..897babe9b1ec 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,6 +6,8 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46c46f9b78fe764dc6c45e016b3d39006dac40af4cae2e01d07131785711913f311d944e9817036b20b08366382e83f3d4093814
 SHA512 
b94f837ff0e1aafdd4939e6e50740c8ab6af602b182357ae495359301a6d5fadaa997014895b90e0c91a715c713218396bb10687167ef30b17ebeccf310f2adf
 DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
+DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
+DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
 DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490

diff --git a/dev-python/clang-python/clang-python-18.1.2.ebuild 
b/dev-python/clang-python/clang-python-18.1.2.ebuild
new file mode 100644
index ..92a6321a504f
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.1.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${EPYTHON}" -m unittest discover -v || die "Tests fail with 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-03-16 Thread Michał Górny
commit: 369a458303d9cecbe7636256218726cf0a3eecda
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 16 16:19:11 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 16 16:25:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369a4583

dev-python/clang-python: Add 19.0.0_pre20240316 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240316.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 8dfb3ed4088b..c195e0b4d1a8 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-18.1.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46
 DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
 DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
 DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
+DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240316.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240316.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240316.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-03-09 Thread Michał Górny
commit: ac929ec3a0c885586c43611529e3cbfd317ec8f8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  9 15:12:39 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  9 15:51:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac929ec3

dev-python/clang-python: Add 19.0.0_pre20240309 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240309.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 8cc41013f55a..8dfb3ed4088b 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46c46f9b78fe764dc6c45e016b3d39006dac40af4cae2e01d07131785711913f311d944e9817036b20b08366382e83f3d4093814
 SHA512 
b94f837ff0e1aafdd4939e6e50740c8ab6af602b182357ae495359301a6d5fadaa997014895b90e0c91a715c713218396bb10687167ef30b17ebeccf310f2adf
 DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
+DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
 DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240309.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240309.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240309.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-03-06 Thread Michał Górny
commit: f0b71fd992711a04c06e831e8b47ac9e3d1f3348
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar  6 16:37:28 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  6 17:03:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b71fd9

dev-python/clang-python: Rekeyword 18.1.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/clang-python-18.1.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/clang-python/clang-python-18.1.0.ebuild 
b/dev-python/clang-python/clang-python-18.1.0.ebuild
index bef9bf6fddbd..92a6321a504f 100644
--- a/dev-python/clang-python/clang-python-18.1.0.ebuild
+++ b/dev-python/clang-python/clang-python-18.1.0.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-03-02 Thread Michał Górny
commit: 124ea408c40adea138468d0f0789648e0b2822e3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  2 11:52:57 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  2 13:24:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=124ea408

dev-python/clang-python: Add 19.0.0_pre20240302 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240302.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 1180df60ba55..8da4a3e96a05 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,4 +8,5 @@ DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-18.1.0rc4.src.tar.xz 132041940 BLAKE2B 
1379efd68f765a70e088ac356f69d792c210003c76b15f28b40273aa64825d7a7c7aa03d2d5016b2607626fd63f656ad88402506f23e836c72474be2032d3224
 SHA512 
3018a843f8e615ee0a4c742d5fafcc67eb6d6a40f81212ce045bdff7012b5acec006ee89c321baf59209daabe66b838709cdaed4e11a34c34b821cfdb77e8a61
 DIST llvm-project-18.1.0rc4.src.tar.xz.sig 566 BLAKE2B 
cc089aadc50d874b575c23b8c22a5472c8507acd3352786d3ac2ee0ec06f07e99eee81b94c6b5bdca569ccffa8b867eb2265b57d5d07b8ec31e3cfce89bf8fc1
 SHA512 
2ce82201b7c673884815898069f18cf1e4ab13a0a9ed535339d9c4132b7b0edb6b748b03499e383f8f0268d904589e6aebb9a204ef95d14f56a3fb9dca24571c
+DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
 DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240302.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240302.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240302.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-02-28 Thread Michał Górny
commit: f3210003fcc3fe1ce29b92c5cc4ccb8eb4da8540
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 28 20:08:56 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 28 20:40:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3210003

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  4 --
 .../clang-python/clang-python-18.1.0_rc2.ebuild| 53 --
 .../clang-python-19.0.0_pre20240210.ebuild | 53 --
 .../clang-python-19.0.0_pre20240218.ebuild | 53 --
 4 files changed, 163 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 4cbd0bee0bc4..1180df60ba55 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,12 +4,8 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
-DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-18.1.0rc4.src.tar.xz 132041940 BLAKE2B 
1379efd68f765a70e088ac356f69d792c210003c76b15f28b40273aa64825d7a7c7aa03d2d5016b2607626fd63f656ad88402506f23e836c72474be2032d3224
 SHA512 
3018a843f8e615ee0a4c742d5fafcc67eb6d6a40f81212ce045bdff7012b5acec006ee89c321baf59209daabe66b838709cdaed4e11a34c34b821cfdb77e8a61
 DIST llvm-project-18.1.0rc4.src.tar.xz.sig 566 BLAKE2B 
cc089aadc50d874b575c23b8c22a5472c8507acd3352786d3ac2ee0ec06f07e99eee81b94c6b5bdca569ccffa8b867eb2265b57d5d07b8ec31e3cfce89bf8fc1
 SHA512 
2ce82201b7c673884815898069f18cf1e4ab13a0a9ed535339d9c4132b7b0edb6b748b03499e383f8f0268d904589e6aebb9a204ef95d14f56a3fb9dca24571c
-DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078
-DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-02-24 Thread Michał Górny
commit: 9715381f718223320966d2d7b39c97f3f5f32203
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 24 14:53:10 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 24 14:53:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9715381f

dev-python/clang-python: Add 19.0.0_pre20240224 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240224.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 6a1f511c358d..4fd527c4d3eb 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -9,4 +9,5 @@ DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be
 DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
+DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240224.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240224.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240224.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-02-21 Thread Michał Górny
commit: 5d90c31484a05c6dca90b52c7a4bd0a893bd0adc
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 21 20:39:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 22 04:22:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d90c314

dev-python/clang-python: Add 18.1.0_rc3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 .../clang-python/clang-python-18.1.0_rc3.ebuild| 53 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 43c0a4f8c567..6a1f511c358d 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,5 +6,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
+DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
+DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/dev-python/clang-python/clang-python-18.1.0_rc3.ebuild 
b/dev-python/clang-python/clang-python-18.1.0_rc3.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.1.0_rc3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-02-18 Thread Michał Górny
commit: 9b203e5ffd444051c8ce5bacc41eef5daa62453b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 18 19:55:45 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 18 20:22:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b203e5f

dev-python/clang-python: Add 19.0.0_pre20240218 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240218.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 820a3cb5dd77..43c0a4f8c567 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
+DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240218.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240218.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240218.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-02-17 Thread Michał Górny
commit: d72ca9c594e25f7fabb547377e778ed692e71ad7
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 17 19:18:12 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 17 19:18:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d72ca9c5

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 -
 .../clang-python-19.0.0_pre20240203.ebuild | 53 --
 2 files changed, 54 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 8331df891e0b..820a3cb5dd77 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,5 +6,4 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
-DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240203.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240203.ebuild
deleted file mode 100644
index bef9bf6fddbd..
--- a/dev-python/clang-python/clang-python-19.0.0_pre20240203.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-02-10 Thread Michał Górny
commit: 838dc0df68e6907a1fc0d0051ca97590e2da61f9
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 10 17:15:17 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 10 17:27:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=838dc0df

dev-python/clang-python: Add 19.0.0_pre20240210 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240210.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 49ffe8b82468..8331df891e0b 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a
+DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240210.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240210.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240210.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-02-10 Thread Michał Górny
commit: 59a80668eeba88826e3024f6374a076715e85c44
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 10 11:14:11 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 10 11:14:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a80668

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  3 --
 .../clang-python/clang-python-18.1.0_rc1.ebuild| 53 --
 .../clang-python-19.0.0_pre20240127.ebuild | 53 --
 3 files changed, 109 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 5ae0120ba5e2..49ffe8b82468 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,9 +4,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
-DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
-DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a

diff --git a/dev-python/clang-python/clang-python-18.1.0_rc1.ebuild 
b/dev-python/clang-python/clang-python-18.1.0_rc1.ebuild
deleted file mode 100644
index bef9bf6fddbd..
--- a/dev-python/clang-python/clang-python-18.1.0_rc1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-02-07 Thread Michał Górny
commit: f1e29c081a235fd74fd15088edfa20ee7ed046ea
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 15:48:01 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 16:11:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e29c08

dev-python/clang-python: Add 18.1.0_rc2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 .../clang-python/clang-python-18.1.0_rc2.ebuild| 53 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 017a314d9e9f..5ae0120ba5e2 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,5 +6,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
 DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
+DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
+DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a

diff --git a/dev-python/clang-python/clang-python-18.1.0_rc2.ebuild 
b/dev-python/clang-python/clang-python-18.1.0_rc2.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.1.0_rc2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-02-03 Thread Michał Górny
commit: 6b7a88a9104f577e5b792335985f158259e657fa
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb  3 14:49:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb  3 15:01:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b7a88a9

dev-python/clang-python: Add 19.0.0_pre20240203 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240203.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 4e313c2acf54..017a314d9e9f 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
 DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
+DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240203.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240203.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240203.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-01-30 Thread Michał Górny
commit: 94f6d3a1f87b0cafa2151f9e4137e2318b981971
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 30 20:17:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 30 21:21:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94f6d3a1

dev-python/clang-python: Remove 18.0.0*

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  3 --
 .../clang-python/clang-python-18.0.0..ebuild   | 53 --
 .../clang-python-18.0.0_pre20240106.ebuild | 53 --
 .../clang-python-18.0.0_pre20240113.ebuild | 53 --
 .../clang-python-18.0.0_pre20240120.ebuild | 53 --
 5 files changed, 215 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 3721aff80256..4e313c2acf54 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,6 +7,3 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
 DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
-DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
-DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 
BLAKE2B 
c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b
 SHA512 
ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347
-DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git a/dev-python/clang-python/clang-python-18.0.0..ebuild 
b/dev-python/clang-python/clang-python-18.0.0..ebuild
deleted file mode 100644
index e1394f43bcd1..
--- a/dev-python/clang-python/clang-python-18.0.0..ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${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
-}

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20240106.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20240106.ebuild
deleted file mode 100644
index bef9bf6fddbd..
--- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-01-27 Thread Michał Górny
commit: b637073a034974c8ece908102202c87b43ab49c5
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 27 15:18:15 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 27 20:33:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b637073a

dev-python/clang-python: Add 19.0.0_pre20240127 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-19.0.0_pre20240127.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index eaf4dd1b1bc7..921b26789062 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,6 +4,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
+DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
 DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 
BLAKE2B 
c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b
 SHA512 
ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git a/dev-python/clang-python/clang-python-19.0.0_pre20240127.ebuild 
b/dev-python/clang-python/clang-python-19.0.0_pre20240127.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0_pre20240127.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-01-23 Thread Michał Górny
commit: 0db9ef64da318051039d3a8470706bb8ba745571
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 24 05:44:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 24 06:32:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0db9ef64

dev-python/clang-python: Add 19.x live ebuild

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-python/clang-python-19.0.0..ebuild   | 53 ++
 1 file changed, 53 insertions(+)

diff --git a/dev-python/clang-python/clang-python-19.0.0..ebuild 
b/dev-python/clang-python/clang-python-19.0.0..ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-19.0.0..ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-01-13 Thread Michał Górny
commit: 7267eca76b6e1f3dde2c8891b1758c81ca195291
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 13 16:14:57 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 13 17:49:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7267eca7

dev-python/clang-python: Add 18.0.0_pre20240113 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20240113.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 216581af7dd4..8ddfd7e4f2e8 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,4 +4,5 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
+DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20240113.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20240113.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20240113.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-01-12 Thread Michał Górny
commit: a0ae37c52556eccca34e24f1577c67af8cea36bf
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan 12 19:33:41 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 12 19:35:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ae37c5

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  3 --
 .../clang-python-18.0.0_pre20231215.ebuild | 53 --
 .../clang-python-18.0.0_pre20231222.ebuild | 53 --
 .../clang-python-18.0.0_pre20231228.ebuild | 53 --
 4 files changed, 162 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 7388a81349e0..216581af7dd4 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,7 +4,4 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-17858ce6f3d24f994f6ad8c899bfa4eed39f739d.tar.gz 204267841 
BLAKE2B 
05232178574de9f7e6d4c2e5eb59cabc70670d14b5f92010a42aa3ab6087abd992672044857e6f8d21cd9d2c3d8129b47420f5e3ec746b50e82a3cac5352e824
 SHA512 
e7836fc56d7121d762cd714a4cd5e28c8b068ff375928d3b5cd32d7e4488b5cf59b21e16250b4f12a973ada3f73ce246af2cc3cd83efca17dc9c3da5b458196d
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d
-DIST llvm-project-a700298b3d538452915703268ca18f7f8f7537e6.tar.gz 204307149 
BLAKE2B 
70c7bdf9694343145d12fe494bceb7e4c4325136a4d8eecaec0a53cb6193d42a6ce47e048569f4fe3bc1754e6a114cbc97225344f9cfc4f39935323d4cb64f68
 SHA512 
76b2c621a97ec3fffe504f4e7c9c5af4db1ee63556291078d302c2c88596b7d07d07d607226361d4272f7757cd8246faff64f4ad36b86cde141ded65fd0b7a62
-DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231215.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231215.ebuild
deleted file mode 100644
index e1394f43bcd1..
--- a/dev-python/clang-python/clang-python-18.0.0_pre20231215.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
-}
-
-src_test() {
-   python_foreach_impl python_test
-}
-
-src_install() {
-   python_foreach_impl 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-01-12 Thread Sam James
commit: b64246231eb1621def0d3aa9f37023b2763bfe8a
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 12 09:22:38 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 12 09:22:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6424623

dev-python/clang-python: Stabilize 17.0.6 arm64, #920044

Signed-off-by: Sam James  gentoo.org>

 dev-python/clang-python/clang-python-17.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/clang-python/clang-python-17.0.6.ebuild 
b/dev-python/clang-python/clang-python-17.0.6.ebuild
index fcc155a74265..7762bfd83fe4 100644
--- a/dev-python/clang-python/clang-python-17.0.6.ebuild
+++ b/dev-python/clang-python/clang-python-17.0.6.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2024-01-06 Thread Michał Górny
commit: e1809717cd81e9d8a6268453568b413c62e36296
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 21:49:43 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 21:52:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1809717

dev-python/clang-python: Add 18.0.0_pre20240106 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20240106.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index f965bc2d68e1..7388a81349e0 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -5,5 +5,6 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-17858ce6f3d24f994f6ad8c899bfa4eed39f739d.tar.gz 204267841 
BLAKE2B 
05232178574de9f7e6d4c2e5eb59cabc70670d14b5f92010a42aa3ab6087abd992672044857e6f8d21cd9d2c3d8129b47420f5e3ec746b50e82a3cac5352e824
 SHA512 
e7836fc56d7121d762cd714a4cd5e28c8b068ff375928d3b5cd32d7e4488b5cf59b21e16250b4f12a973ada3f73ce246af2cc3cd83efca17dc9c3da5b458196d
+DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d
 DIST llvm-project-a700298b3d538452915703268ca18f7f8f7537e6.tar.gz 204307149 
BLAKE2B 
70c7bdf9694343145d12fe494bceb7e4c4325136a4d8eecaec0a53cb6193d42a6ce47e048569f4fe3bc1754e6a114cbc97225344f9cfc4f39935323d4cb64f68
 SHA512 
76b2c621a97ec3fffe504f4e7c9c5af4db1ee63556291078d302c2c88596b7d07d07d607226361d4272f7757cd8246faff64f4ad36b86cde141ded65fd0b7a62
 DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20240106.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20240106.ebuild
new file mode 100644
index ..bef9bf6fddbd
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20240106.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-12-28 Thread Michał Górny
commit: e7962aee5c806b12f5854f8b37030c854d4b34c9
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Dec 28 13:50:50 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec 28 15:06:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7962aee

dev-python/clang-python: Add 18.0.0_pre20231228 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20231228.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 38beb262d814..f965bc2d68e1 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -5,4 +5,5 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-17858ce6f3d24f994f6ad8c899bfa4eed39f739d.tar.gz 204267841 
BLAKE2B 
05232178574de9f7e6d4c2e5eb59cabc70670d14b5f92010a42aa3ab6087abd992672044857e6f8d21cd9d2c3d8129b47420f5e3ec746b50e82a3cac5352e824
 SHA512 
e7836fc56d7121d762cd714a4cd5e28c8b068ff375928d3b5cd32d7e4488b5cf59b21e16250b4f12a973ada3f73ce246af2cc3cd83efca17dc9c3da5b458196d
+DIST llvm-project-a700298b3d538452915703268ca18f7f8f7537e6.tar.gz 204307149 
BLAKE2B 
70c7bdf9694343145d12fe494bceb7e4c4325136a4d8eecaec0a53cb6193d42a6ce47e048569f4fe3bc1754e6a114cbc97225344f9cfc4f39935323d4cb64f68
 SHA512 
76b2c621a97ec3fffe504f4e7c9c5af4db1ee63556291078d302c2c88596b7d07d07d607226361d4272f7757cd8246faff64f4ad36b86cde141ded65fd0b7a62
 DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231228.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231228.ebuild
new file mode 100644
index ..e1394f43bcd1
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20231228.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-12-22 Thread Michał Górny
commit: f08b61da1ac71ed2f730054b772a8028f580d5c5
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 22 15:58:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 22 16:43:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f08b61da

dev-python/clang-python: Remove LLVM 14

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 -
 dev-python/clang-python/clang-python-14.0.6.ebuild | 47 --
 2 files changed, 49 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index d447601b9cce..38beb262d814 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -1,5 +1,3 @@
-DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99
 SHA512 
6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
-DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7

diff --git a/dev-python/clang-python/clang-python-14.0.6.ebuild 
b/dev-python/clang-python/clang-python-14.0.6.ebuild
deleted file mode 100644
index 2d5270ca40ac..
--- a/dev-python/clang-python/clang-python-14.0.6.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-12-15 Thread Michał Górny
commit: c18f74a21bd3926929278ec403d00943decd0030
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 15 17:49:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 15 17:51:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c18f74a2

dev-python/clang-python: Add 18.0.0_pre20231215 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20231215.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 1dff6636ab84..bbf3c61e611c 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
 DIST llvm-project-6a4489a73337907d52e7eaf3716f3de9008e6e53.tar.gz 201703120 
BLAKE2B 
7de783df15ff30ab85aad2f02a5a043d09b18dd7b212c19e21b045870497e2b17a53527523cd533c4ef61b22d605026a9322d2f8d02f0d4f76ed26ab693b788c
 SHA512 
ffc31d7037255d608717faff84e858d63b37abed5659d66599864ae44ed00fc5902e9851eb1b8c848b500623681ef5782b39ad2bf8bcf96ac4f35032efde1490
+DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231215.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231215.ebuild
new file mode 100644
index ..e1394f43bcd1
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20231215.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-12-09 Thread Michał Górny
commit: e7831e1a9533cb8eee99d7cfb7bfd2114714b3cc
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 18:25:28 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 18:25:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7831e1a

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 -
 dev-python/clang-python/clang-python-17.0.5.ebuild | 54 --
 2 files changed, 56 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 8af9207eb1ab..1dff6636ab84 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,8 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
-DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45

diff --git a/dev-python/clang-python/clang-python-17.0.5.ebuild 
b/dev-python/clang-python/clang-python-17.0.5.ebuild
deleted file mode 100644
index d4a2cc4e8854..
--- a/dev-python/clang-python/clang-python-17.0.5.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
-}
-
-src_test() {
-   python_foreach_impl 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-11-29 Thread Michał Górny
commit: 28c8c49e762d4dc2d8140211af97ede7ab1f5c27
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 12:47:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 15:14:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c8c49e

dev-python/clang-python: Add 18.0.0_pre20231129 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20231129.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 14182ad604eb..8af9207eb1ab 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5c
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
+DIST llvm-project-6a4489a73337907d52e7eaf3716f3de9008e6e53.tar.gz 201703120 
BLAKE2B 
7de783df15ff30ab85aad2f02a5a043d09b18dd7b212c19e21b045870497e2b17a53527523cd533c4ef61b22d605026a9322d2f8d02f0d4f76ed26ab693b788c
 SHA512 
ffc31d7037255d608717faff84e858d63b37abed5659d66599864ae44ed00fc5902e9851eb1b8c848b500623681ef5782b39ad2bf8bcf96ac4f35032efde1490

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231129.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231129.ebuild
new file mode 100644
index ..e1394f43bcd1
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20231129.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-11-28 Thread Michał Górny
commit: d970c669e6ef2b1baa6b7469d5fad359d1ef4b74
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 07:42:56 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 07:44:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d970c669

dev-python/clang-python: Bump to 17.0.6

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-17.0.6.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 12ada98c6c6b..14182ad604eb 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,4 +6,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
 DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
+DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
+DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45

diff --git a/dev-python/clang-python/clang-python-17.0.6.ebuild 
b/dev-python/clang-python/clang-python-17.0.6.ebuild
new file mode 100644
index ..d4a2cc4e8854
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-11-25 Thread Michał Górny
commit: d2d0653d77afc03a39ac8adb564b2ae29817c54b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 25 11:19:31 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 25 11:21:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2d0653d

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  4 --
 dev-python/clang-python/clang-python-17.0.4.ebuild | 54 --
 .../clang-python-18.0.0_pre20231104.ebuild | 53 -
 .../clang-python-18.0.0_pre2023.ebuild | 53 -
 4 files changed, 164 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index a1ddcbd2429b..12ada98c6c6b 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,10 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-167b598648dfcee2f23426bfa972e53f8ac16722.tar.gz 201158314 
BLAKE2B 
908d42b0148f04eeab8d05d46736c570ffdea7d66273aa428375f944deaaf1c0ca885ef0fbe04588d838e4f831ff9823365f9df700f9e9de08c700f0135f2e59
 SHA512 
7da16df850245ba70e4ddf318a0e7322ed68b076337325c3d3702bb428358d11137b6254051cc6a34d047789f107fd96065cd169c9b2684f78b3a54c4f566a78
-DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
-DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
 DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
-DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git a/dev-python/clang-python/clang-python-17.0.4.ebuild 
b/dev-python/clang-python/clang-python-17.0.4.ebuild
deleted file mode 100644
index d4a2cc4e8854..
--- a/dev-python/clang-python/clang-python-17.0.4.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-11-19 Thread Michał Górny
commit: bc3a82b74ee71e5ec6c57a031c12763b665e5182
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 19 09:45:34 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 19 11:10:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc3a82b7

dev-python/clang-python: Add 18.0.0_pre20231119 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20231119.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index ee507a828566..a1ddcbd2429b 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -9,4 +9,5 @@ DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
 DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
+DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231119.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231119.ebuild
new file mode 100644
index ..e1394f43bcd1
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20231119.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-11-14 Thread Michał Górny
commit: 467abe10fbd96fd5e1fbdf94572741fd9f594785
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 14 17:06:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 14 18:25:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=467abe10

dev-python/clang-python: Bump to 17.0.5

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-17.0.5.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 9b46ca981c1d..ee507a828566 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,4 +7,6 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-167b598648dfcee2f23426bfa972e53f8ac16722.tar.gz 201158314 
BLAKE2B 
908d42b0148f04eeab8d05d46736c570ffdea7d66273aa428375f944deaaf1c0ca885ef0fbe04588d838e4f831ff9823365f9df700f9e9de08c700f0135f2e59
 SHA512 
7da16df850245ba70e4ddf318a0e7322ed68b076337325c3d3702bb428358d11137b6254051cc6a34d047789f107fd96065cd169c9b2684f78b3a54c4f566a78
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
+DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
+DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git a/dev-python/clang-python/clang-python-17.0.5.ebuild 
b/dev-python/clang-python/clang-python-17.0.5.ebuild
new file mode 100644
index ..d4a2cc4e8854
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-11-14 Thread Michał Górny
commit: 19db733f00bdcf3cbae7b929b1d4ccda74c072c5
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 14 13:04:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 14 13:04:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19db733f

dev-python/clang-python: Remove 17.0.4. (live)

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-python/clang-python-17.0.4..ebuild   | 53 --
 1 file changed, 53 deletions(-)

diff --git a/dev-python/clang-python/clang-python-17.0.4..ebuild 
b/dev-python/clang-python/clang-python-17.0.4..ebuild
deleted file mode 100644
index e1394f43bcd1..
--- a/dev-python/clang-python/clang-python-17.0.4..ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-11-11 Thread Michał Górny
commit: 0263f2d0fb28c9e9f0d301249f47882147966531
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 11 19:01:26 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 11 20:23:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0263f2d0

dev-python/clang-python: Add 18.0.0_pre2023 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre2023.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index db6bc21c0cb1..9b46ca981c1d 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,6 +4,7 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
+DIST llvm-project-167b598648dfcee2f23426bfa972e53f8ac16722.tar.gz 201158314 
BLAKE2B 
908d42b0148f04eeab8d05d46736c570ffdea7d66273aa428375f944deaaf1c0ca885ef0fbe04588d838e4f831ff9823365f9df700f9e9de08c700f0135f2e59
 SHA512 
7da16df850245ba70e4ddf318a0e7322ed68b076337325c3d3702bb428358d11137b6254051cc6a34d047789f107fd96065cd169c9b2684f78b3a54c4f566a78
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre2023.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre2023.ebuild
new file mode 100644
index ..e1394f43bcd1
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre2023.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-11-11 Thread Michał Górny
commit: 6d9bb1387081c40494c8d6f2783220d82a31249e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 11 09:23:50 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 11 10:36:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9bb138

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  5 --
 dev-python/clang-python/clang-python-17.0.3.ebuild | 54 --
 .../clang-python-18.0.0_pre20231013.ebuild | 53 -
 .../clang-python-18.0.0_pre20231019.ebuild | 53 -
 .../clang-python-18.0.0_pre20231025.ebuild | 53 -
 5 files changed, 218 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 8a547e85b6d5..db6bc21c0cb1 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,11 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
-DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
-DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509
-DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
-DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git a/dev-python/clang-python/clang-python-17.0.3.ebuild 
b/dev-python/clang-python/clang-python-17.0.3.ebuild
deleted file mode 100644
index d4a2cc4e8854..
--- a/dev-python/clang-python/clang-python-17.0.3.ebuild
+++ /dev/null

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-11-04 Thread Michał Górny
commit: e22a9966178bb21d9c6568d8bd437fc137557874
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov  4 08:50:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov  4 18:02:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22a9966

dev-python/clang-python: Add 18.0.0_pre20231104 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20231104.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 7df7743194f4..8a547e85b6d5 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -9,5 +9,6 @@ DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
+DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509
 DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
 DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231104.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231104.ebuild
new file mode 100644
index ..e1394f43bcd1
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20231104.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-31 Thread Michał Górny
commit: 4160fb484b5cb1d6a5eeb8bb5f39e8e041e54b19
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 31 08:39:29 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 31 19:12:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4160fb48

dev-python/clang-python: Bump to 17.0.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-17.0.4.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 781040d23486..7df7743194f4 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,6 +6,8 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
+DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
+DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
 DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git a/dev-python/clang-python/clang-python-17.0.4.ebuild 
b/dev-python/clang-python/clang-python-17.0.4.ebuild
new file mode 100644
index ..d4a2cc4e8854
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${EPYTHON}" -m unittest discover -v || die "Tests fail with 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-31 Thread Michał Górny
commit: 2180b1dac55e0510b6881337ccad8b8bc277711a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 31 08:37:24 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 31 08:37:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2180b1da

dev-python/clang-python: 17.x is now 17.0.4.

Signed-off-by: Michał Górny  gentoo.org>

 .../{clang-python-17.0.3..ebuild => clang-python-17.0.4..ebuild}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/clang-python/clang-python-17.0.3..ebuild 
b/dev-python/clang-python/clang-python-17.0.4..ebuild
similarity index 100%
rename from dev-python/clang-python/clang-python-17.0.3..ebuild
rename to dev-python/clang-python/clang-python-17.0.4..ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-25 Thread Michał Górny
commit: df7989a83c6e5c08876f7469d78efbcb7ba5bf7d
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 25 18:57:45 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 26 02:10:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df7989a8

dev-python/clang-python: Add 18.0.0_pre20231025 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20231025.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index ce67cad96b48..781040d23486 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,4 +7,5 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
+DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
 DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231025.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231025.ebuild
new file mode 100644
index ..e1394f43bcd1
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20231025.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-19 Thread Michał Górny
commit: 03ad4060573830f41a87991a44294d74f411b8b7
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 19 18:52:33 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 19:50:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03ad4060

dev-python/clang-python: Add 18.0.0_pre20231019 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20231019.ebuild | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index cdb85c1e880f..ce67cad96b48 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
+DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231019.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231019.ebuild
new file mode 100644
index ..e1394f43bcd1
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20231019.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-19 Thread Michał Górny
commit: 382e68e4a2ac95a6fd12e67d84630cea11f28ef1
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 19 15:04:45 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 15:13:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382e68e4

dev-python/clang-python: Fix EmptyGlobalAssignment

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/clang-python-17.0.3..ebuild| 1 -
 dev-python/clang-python/clang-python-18.0.0..ebuild| 1 -
 dev-python/clang-python/clang-python-18.0.0_pre20231013.ebuild | 1 -
 3 files changed, 3 deletions(-)

diff --git a/dev-python/clang-python/clang-python-17.0.3..ebuild 
b/dev-python/clang-python/clang-python-17.0.3..ebuild
index 0b4b598d92ff..e1394f43bcd1 100644
--- a/dev-python/clang-python/clang-python-17.0.3..ebuild
+++ b/dev-python/clang-python/clang-python-17.0.3..ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 SLOT="0"
-KEYWORDS=""
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"

diff --git a/dev-python/clang-python/clang-python-18.0.0..ebuild 
b/dev-python/clang-python/clang-python-18.0.0..ebuild
index 0b4b598d92ff..e1394f43bcd1 100644
--- a/dev-python/clang-python/clang-python-18.0.0..ebuild
+++ b/dev-python/clang-python/clang-python-18.0.0..ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 SLOT="0"
-KEYWORDS=""
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231013.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231013.ebuild
index 0b4b598d92ff..e1394f43bcd1 100644
--- a/dev-python/clang-python/clang-python-18.0.0_pre20231013.ebuild
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20231013.ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 SLOT="0"
-KEYWORDS=""
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-19 Thread Michał Górny
commit: dfaeadd6c2fb9cf4b5a8efda1fb50c20d195f412
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 19 15:00:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 15:02:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfaeadd6

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  6 ---
 dev-python/clang-python/clang-python-17.0.1.ebuild | 54 --
 dev-python/clang-python/clang-python-17.0.2.ebuild | 54 --
 .../clang-python-18.0.0_pre20230925.ebuild | 54 --
 .../clang-python-18.0.0_pre20231002.ebuild | 54 --
 5 files changed, 222 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 1989f0fc579d..cdb85c1e880f 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,12 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
-DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
-DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
-DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
-DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
-DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-17 Thread Michał Górny
commit: e087aa8eb6aa5833f32b5cf56cdb06e5bf9cc5fb
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 14:58:34 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 15:11:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e087aa8e

dev-python/clang-python: Bump to 17.0.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-17.0.3.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 1647f45a2bb4..1989f0fc579d 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,6 +8,8 @@ DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccf
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
 DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
 DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
+DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
+DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/dev-python/clang-python/clang-python-17.0.3.ebuild 
b/dev-python/clang-python/clang-python-17.0.3.ebuild
new file mode 100644
index ..d4a2cc4e8854
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${EPYTHON}" -m unittest discover -v || die "Tests fail with 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-13 Thread Michał Górny
commit: 21bb9e50ffddf4d64a2b0b2abcfbb4d2587f9fdd
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 13 15:50:24 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 13 15:50:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21bb9e50

dev-python/clang-python: Add 18.0.0_pre20231013 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20231013.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 36e3001ed1e9..1647f45a2bb4 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -9,4 +9,5 @@ DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b
 DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
 DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
 DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
+DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231013.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231013.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20231013.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-13 Thread Michał Górny
commit: 80f5528c7dde744347d3c1e7aabf6b72d14d91a1
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 13 12:15:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 13 12:15:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80f5528c

dev-python/clang-python: 17.x live is now 17.0.3.

Signed-off-by: Michał Górny  gentoo.org>

 .../{clang-python-17.0.2..ebuild => clang-python-17.0.3..ebuild}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/clang-python/clang-python-17.0.2..ebuild 
b/dev-python/clang-python/clang-python-17.0.3..ebuild
similarity index 100%
rename from dev-python/clang-python/clang-python-17.0.2..ebuild
rename to dev-python/clang-python/clang-python-17.0.3..ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-04 Thread Michał Górny
commit: c6367fde3afefc18464f5aea9da1e45d7432eb8c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 08:23:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 08:44:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6367fde

dev-python/clang-python: Bump to 17.0.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-17.0.2.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 0f39c1ae5665..36e3001ed1e9 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,5 +6,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
+DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
+DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
 DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/dev-python/clang-python/clang-python-17.0.2.ebuild 
b/dev-python/clang-python/clang-python-17.0.2.ebuild
new file mode 100644
index ..d4a2cc4e8854
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-02 Thread Michał Górny
commit: e9c31498a747c808aafc793a4347b0d4ee369f60
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 18:27:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 19:39:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c31498

dev-python/clang-python: Add 18.0.0_pre20231002 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20231002.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 2c20684b235e..0f39c1ae5665 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
+DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20231002.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20231002.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20231002.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-02 Thread Michał Górny
commit: 0312be44fa05d025db1c1a21a303bb60274adab0
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 15:22:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 15:22:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0312be44

dev-python/clang-python: 17.x is now 17.0.2.

Signed-off-by: Michał Górny  gentoo.org>

 .../{clang-python-17.0.1..ebuild => clang-python-17.0.2..ebuild}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/clang-python/clang-python-17.0.1..ebuild 
b/dev-python/clang-python/clang-python-17.0.2..ebuild
similarity index 100%
rename from dev-python/clang-python/clang-python-17.0.1..ebuild
rename to dev-python/clang-python/clang-python-17.0.2..ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-10-02 Thread Michał Górny
commit: 7867fe9e8a6a017cba264db081ea5927d3cc3b07
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 15:18:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 15:18:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7867fe9e

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  3 --
 .../clang-python/clang-python-17.0.0_rc4.ebuild| 54 --
 .../clang-python-18.0.0_pre20230906.ebuild | 54 --
 3 files changed, 111 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 908f8400d4ca..2c20684b235e 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,9 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
-DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
-DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/dev-python/clang-python/clang-python-17.0.0_rc4.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_rc4.ebuild
deleted file mode 100644
index 0b4b598d92ff..
--- a/dev-python/clang-python/clang-python-17.0.0_rc4.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-09-25 Thread Michał Górny
commit: b48347da546f9d117b5875f0d9d5614d5fd50cae
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 25 18:43:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 25 18:43:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b48347da

dev-python/clang-python: Add 18.0.0_pre20230925 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20230925.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 5e4409ff769c..908f8400d4ca 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459
 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
 DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
+DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20230925.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20230925.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20230925.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-09-19 Thread Michał Górny
commit: f85f71d1bc62005805f5dfc98aab7b6f26609b94
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 19 19:37:53 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 19 19:47:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85f71d1

dev-python/clang-python: Bump to 17.0.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-17.0.1.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 2b156dc34b4d..5e4409ff769c 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,4 +6,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
 DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
+DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
+DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
 DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b

diff --git a/dev-python/clang-python/clang-python-17.0.1.ebuild 
b/dev-python/clang-python/clang-python-17.0.1.ebuild
new file mode 100644
index ..d4a2cc4e8854
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-09-19 Thread Michał Górny
commit: 45047cd72308f1cbf061efe3fb5c3eae34fab9f8
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 19 11:45:20 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 19 12:42:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45047cd7

dev-python/clang-python: 17.x is now 17.0.1

Signed-off-by: Michał Górny  gentoo.org>

 .../{clang-python-17.0.0..ebuild => clang-python-17.0.1..ebuild}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/clang-python/clang-python-17.0.0..ebuild 
b/dev-python/clang-python/clang-python-17.0.1..ebuild
similarity index 100%
rename from dev-python/clang-python/clang-python-17.0.0..ebuild
rename to dev-python/clang-python/clang-python-17.0.1..ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-09-08 Thread Michał Górny
commit: 1279bccdede6ed3db4beda6e6db0344ef668e959
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep  8 11:36:20 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep  8 11:36:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1279bccd

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  4 --
 .../clang-python/clang-python-17.0.0_rc3.ebuild| 54 --
 .../clang-python-18.0.0_pre20230825.ebuild | 54 --
 .../clang-python-18.0.0_pre20230829.ebuild | 54 --
 4 files changed, 166 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index f93f9da98f29..2b156dc34b4d 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,10 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
-DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
 DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
 DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
-DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
-DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git a/dev-python/clang-python/clang-python-17.0.0_rc3.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_rc3.ebuild
deleted file mode 100644
index 0b4b598d92ff..
--- a/dev-python/clang-python/clang-python-17.0.0_rc3.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-09-06 Thread Michał Górny
commit: cf82cdf03d4482412c16fbfc0db91cf49a38fcf6
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep  6 17:56:33 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep  6 18:12:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf82cdf0

dev-python/clang-python: Add 18.0.0_pre20230906 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20230906.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index aa50ad835c53..f93f9da98f29 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,5 +8,6 @@ DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
 DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
+DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
 DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20230906.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20230906.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20230906.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-09-05 Thread Michał Górny
commit: b05116e789125f231caf0fb0d6c65bde08c22ec2
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep  5 15:52:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep  5 19:58:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b05116e7

dev-python/clang-python: Bump to 17.0.0_rc4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 .../clang-python/clang-python-17.0.0_rc4.ebuild| 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index aefca5c7ae38..aa50ad835c53 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,5 +6,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
+DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
+DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
 DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git a/dev-python/clang-python/clang-python-17.0.0_rc4.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_rc4.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_rc4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-08-29 Thread Michał Górny
commit: 98ccedcfd0b32afcf1895d195d5283c2612411c3
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 29 10:49:32 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 29 11:20:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98ccedcf

dev-python/clang-python: Add 18.0.0_pre20230829 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20230829.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 55018810e8e8..aefca5c7ae38 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
+DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20230829.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20230829.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20230829.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-08-28 Thread Michał Górny
commit: 66b6b0a2c7bce3dcbb8a943c95824c10d2d86509
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 29 05:47:19 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 29 05:48:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b6b0a2

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  7 ---
 .../clang-python/clang-python-17.0.0_rc1.ebuild| 54 --
 .../clang-python/clang-python-17.0.0_rc2.ebuild| 54 --
 .../clang-python-18.0.0_pre20230803.ebuild | 54 --
 .../clang-python-18.0.0_pre20230810.ebuild | 54 --
 .../clang-python-18.0.0_pre20230820.ebuild | 54 --
 6 files changed, 277 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 7033d4698c18..55018810e8e8 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,13 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
-DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
-DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
-DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
 DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
-DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
-DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-08-25 Thread Michał Górny
commit: cd79fc49253353a200c2b992a8d98448a176bf5f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Aug 25 18:25:50 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Aug 25 19:17:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd79fc49

dev-python/clang-python: Add 18.0.0_pre20230825 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20230825.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 00502f5488e5..7033d4698c18 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -12,4 +12,5 @@ DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
+DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
 DIST llvm-project-fe42682e7818d44cbe19f98ef34caa4e414aa937.tar.gz 196564445 
BLAKE2B 
056e6622b38009e34392c1d1755086e008bc85e9b4c00126e7ca92ddaee2ede7f31bafbc6ca04c5008983ce843d19fb152d75ce01e6ece4c2d891cc38604532c
 SHA512 
8245f8a50f77e9ac9c0309a0025fde8407bb82d82277e3edba0a995debff50940e9500d4ad65060a330e6c19e2e1332d700ea040ca382ef4b75282a4566cbf72

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20230825.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20230825.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20230825.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-08-23 Thread Michał Górny
commit: af5f59a1d4d8ba69e62c6ff54d6871df68763818
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Aug 23 05:12:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Aug 23 10:17:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af5f59a1

dev-python/clang-python: Add 17.0.0_rc3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 .../clang-python/clang-python-17.0.0_rc3.ebuild| 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 78c6850f5907..00502f5488e5 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,6 +8,8 @@ DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd2
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
 DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
 DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
+DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
+DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
 DIST llvm-project-fe42682e7818d44cbe19f98ef34caa4e414aa937.tar.gz 196564445 
BLAKE2B 
056e6622b38009e34392c1d1755086e008bc85e9b4c00126e7ca92ddaee2ede7f31bafbc6ca04c5008983ce843d19fb152d75ce01e6ece4c2d891cc38604532c
 SHA512 
8245f8a50f77e9ac9c0309a0025fde8407bb82d82277e3edba0a995debff50940e9500d4ad65060a330e6c19e2e1332d700ea040ca382ef4b75282a4566cbf72

diff --git a/dev-python/clang-python/clang-python-17.0.0_rc3.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_rc3.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_rc3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${EPYTHON}" -m unittest discover -v || die "Tests fail 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-08-20 Thread Michał Górny
commit: 95a96466126eb1f6af7e73800259fef2eae2d9f9
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 20 12:01:12 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 20 12:02:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95a96466

dev-python/clang-python: Add 18.0.0_pre20230820 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20230820.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 285b67868f2e..78c6850f5907 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -10,3 +10,4 @@ DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d57
 DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
 DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
+DIST llvm-project-fe42682e7818d44cbe19f98ef34caa4e414aa937.tar.gz 196564445 
BLAKE2B 
056e6622b38009e34392c1d1755086e008bc85e9b4c00126e7ca92ddaee2ede7f31bafbc6ca04c5008983ce843d19fb152d75ce01e6ece4c2d891cc38604532c
 SHA512 
8245f8a50f77e9ac9c0309a0025fde8407bb82d82277e3edba0a995debff50940e9500d4ad65060a330e6c19e2e1332d700ea040ca382ef4b75282a4566cbf72

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20230820.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20230820.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20230820.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-08-10 Thread Michał Górny
commit: baf5d2bd645e1e04050b53bd4527c945d7e71334
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 10 12:53:27 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 10 17:49:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baf5d2bd

dev-python/clang-python: Add 18.0.0_pre20230810 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20230810.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 839ce3fd55e7..285b67868f2e 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,4 +8,5 @@ DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd2
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
 DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
 DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
+DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20230810.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20230810.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20230810.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-08-08 Thread Michał Górny
commit: 2bc2ce7f4b0f73d124e8c616bf12fc25b4fc99c0
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug  8 12:28:13 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug  8 18:31:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc2ce7f

dev-python/clang-python: Add 17.0.0_rc2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 .../clang-python/clang-python-17.0.0_rc2.ebuild| 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index c6c293dd1492..839ce3fd55e7 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,4 +6,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
+DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
+DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b

diff --git a/dev-python/clang-python/clang-python-17.0.0_rc2.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_rc2.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_rc2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-08-03 Thread Michał Górny
commit: f071c252436c138a470c9f3a2cce364f8924448e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  3 09:21:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  3 15:43:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f071c252

dev-python/clang-python: Add 18.0.0_pre20230803 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-18.0.0_pre20230803.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 5dbccdb8ee1a..c6c293dd1492 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,3 +6,4 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
+DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b

diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20230803.ebuild 
b/dev-python/clang-python/clang-python-18.0.0_pre20230803.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0_pre20230803.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-08-03 Thread Michał Górny
commit: 4784ac84cf83b3ad60a3c2a875a4a761e6b862d0
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  3 09:13:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  3 09:13:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4784ac84

dev-python/clang-python: Remove 17.x snapshots

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 -
 .../clang-python-17.0.0_pre20230722.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 2e05a04b6e37..5dbccdb8ee1a 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,4 +6,3 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
-DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 
BLAKE2B 
d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0
 SHA512 
b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230722.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230722.ebuild
deleted file mode 100644
index 0b4b598d92ff..
--- a/dev-python/clang-python/clang-python-17.0.0_pre20230722.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-07-29 Thread Michał Górny
commit: aceab7ff8ce39eb412c79685a95b6df76eee921b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 29 14:18:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 29 19:25:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aceab7ff

dev-python/clang-python: Add 17.0.0_rc1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 .../clang-python/clang-python-17.0.0_rc1.ebuild| 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index a119694951c6..2e05a04b6e37 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,4 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
+DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
+DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
 DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 
BLAKE2B 
d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0
 SHA512 
b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe

diff --git a/dev-python/clang-python/clang-python-17.0.0_rc1.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_rc1.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_rc1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-07-25 Thread Michał Górny
commit: 63eccc12ff85eff5f3f7acdf80a70f30e027bcc8
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 25 16:09:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 25 16:11:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63eccc12

dev-python/clang-python: Add 18.x live ebuilds

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-python/clang-python-18.0.0..ebuild   | 54 ++
 1 file changed, 54 insertions(+)

diff --git a/dev-python/clang-python/clang-python-18.0.0..ebuild 
b/dev-python/clang-python/clang-python-18.0.0..ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-18.0.0..ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-07-22 Thread Michał Górny
commit: ae49e75248c627984f6e44a8567dbafcbccf5dfa
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 22 06:03:50 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 22 13:01:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae49e752

dev-python/clang-python: Add 17.0.0_pre20230722 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-17.0.0_pre20230722.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 5c52d83a5f97..a3024e906654 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,3 +6,4 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-3cd3f11c174baa001b337b88c7a6507eb5705cf2.tar.gz 194446197 
BLAKE2B 
ba2ac8334f90fddfd9b8f97abd2f77bd1f1ad00c97f2b7daf6b799fe49755a9bd07e017e93cc634163ad7499e70d886556715e26e9d7ed9017018861c3522735
 SHA512 
b12d02a7b4df08e8decf99ac86875bef72ff2fa546699e7a94bfd2b2ad1e1256aec66185f9e2f7c2f5d06b1eeb3faae44a2c457b33e5c7416d3bd9921759b39d
 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc
+DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 
BLAKE2B 
d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0
 SHA512 
b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230722.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230722.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230722.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-07-17 Thread Michał Górny
commit: 19e4c27574317d02a820418c91dd3c78c01dd32b
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 17 10:46:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 17 14:14:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19e4c275

dev-python/clang-python: Add 17.0.0_pre20230717 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-17.0.0_pre20230717.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 84d6ade02dbb..5c52d83a5f97 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,4 +4,5 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
+DIST llvm-project-3cd3f11c174baa001b337b88c7a6507eb5705cf2.tar.gz 194446197 
BLAKE2B 
ba2ac8334f90fddfd9b8f97abd2f77bd1f1ad00c97f2b7daf6b799fe49755a9bd07e017e93cc634163ad7499e70d886556715e26e9d7ed9017018861c3522735
 SHA512 
b12d02a7b4df08e8decf99ac86875bef72ff2fa546699e7a94bfd2b2ad1e1256aec66185f9e2f7c2f5d06b1eeb3faae44a2c457b33e5c7416d3bd9921759b39d
 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230717.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230717.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230717.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-07-14 Thread Michał Górny
commit: e6d256e04aecd1cf5276eca34f1804f7a21d7a0b
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 14 16:08:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 14 16:17:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6d256e0

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 -
 dev-python/clang-python/clang-python-16.0.5.ebuild | 54 --
 2 files changed, 56 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 7f17af10c5ea..84d6ade02dbb 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -2,8 +2,6 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
-DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afbca5cddc6fbad6c9728726f7158f290ab87d464ff657e89e1c8fc3c474362cc865ff13c5d55ef758c848ea3e660d732cb2fdefa
 SHA512 
7008e7e9c8c2246fe98ba3f0c0fa91e41c88c4da427bf1cfdcce7ef57e5ea838efe7c58c523a7d1708e70d64a4338afe16d06fba2fc7ac5a6c19ca3d6ee41e99
-DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc

diff --git a/dev-python/clang-python/clang-python-16.0.5.ebuild 
b/dev-python/clang-python/clang-python-16.0.5.ebuild
deleted file mode 100644
index 2ac8327fcc1b..
--- a/dev-python/clang-python/clang-python-16.0.5.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
-}
-
-src_test() {
-   python_foreach_impl 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-07-11 Thread Michał Górny
commit: 12a2f77d0ee19bccfe0cc149795bca12e2ab0c34
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 11 10:23:47 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 11 10:25:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12a2f77d

dev-python/clang-python: Remove 17.0.0_pre20230630

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 -
 .../clang-python-17.0.0_pre20230630.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 61837531aef7..7f17af10c5ea 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,4 +7,3 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c33
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc
-DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230630.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230630.ebuild
deleted file mode 100644
index 0b4b598d92ff..
--- a/dev-python/clang-python/clang-python-17.0.0_pre20230630.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-07-05 Thread Michał Górny
commit: ccf0b9ca50b231bf876cf7a886a13c91ec140898
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  5 15:29:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  5 15:31:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf0b9ca

dev-python/clang-python: Add 17.0.0_pre20230705 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-17.0.0_pre20230705.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index dac5477b548d..61837531aef7 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afb
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
+DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc
 DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230705.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230705.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230705.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-07-05 Thread Michał Górny
commit: 66bdae0055a0363e74c829ba9053c216dbd80a48
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  5 08:21:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  5 08:38:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66bdae00

dev-python/clang-python: Remove old snapshots

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 -
 .../clang-python-17.0.0_pre20230615.ebuild | 54 --
 .../clang-python-17.0.0_pre20230620.ebuild | 54 --
 3 files changed, 110 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index e99aeb91e935..dac5477b548d 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -1,4 +1,3 @@
-DIST llvm-project-0e08374abb2c61a3ae5c24d5f60be3b548da9778.tar.gz 191661586 
BLAKE2B 
05e5328d8eb9972bd6399e8c0f5ab241a78e6591e63ee520180c4ff154df432ad96f49ddc615a2208f69ffbec539b201fffeaf4906011b7a961cbc3860126ffa
 SHA512 
1d4429ecb2292e419ed6172cf251ba4a1448ed51424552ac48a159d0e3d3414777f7821382d1839b56f0c906fb0a147b1df4eecb071f8a5c11b0fc1d0d40d339
 DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99
 SHA512 
6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
@@ -7,5 +6,4 @@ DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afb
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2
 DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230615.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230615.ebuild
deleted file mode 100644
index 0b4b598d92ff..
--- a/dev-python/clang-python/clang-python-17.0.0_pre20230615.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-30 Thread Michał Górny
commit: dc81ef05ca03951a4ead7662c84190a4646228b6
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 30 18:55:18 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 30 19:42:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc81ef05

dev-python/clang-python: Add 17.0.0_pre20230630 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-17.0.0_pre20230630.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 3b9db6c543a3..e99aeb91e935 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c33
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2
+DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230630.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230630.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230630.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-20 Thread Michał Górny
commit: fbadf8e45f26e28a76b69345e0f41a9f967ff02b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 20 14:25:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 20 17:52:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbadf8e4

dev-python/clang-python: Enable py3.12 in 16.0.6

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/clang-python-16.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/clang-python/clang-python-16.0.6.ebuild 
b/dev-python/clang-python/clang-python-16.0.6.ebuild
index 83f4d804e310..d4a2cc4e8854 100644
--- a/dev-python/clang-python/clang-python-16.0.6.ebuild
+++ b/dev-python/clang-python/clang-python-16.0.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit llvm.org python-r1
 
 DESCRIPTION="Python bindings for sys-devel/clang"



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-20 Thread Michał Górny
commit: 52dde5084c3e33fc3d8263567329b5e82d15cc46
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 20 14:21:38 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 20 14:23:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52dde508

dev-python/clang-python: Remove 17.0.0_pre20230609

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 -
 .../clang-python-17.0.0_pre20230609.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index f13d0a4b01ed..3b9db6c543a3 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,5 +7,4 @@ DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afb
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0
 DIST llvm-project-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230609.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230609.ebuild
deleted file mode 100644
index 0b4b598d92ff..
--- a/dev-python/clang-python/clang-python-17.0.0_pre20230609.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-20 Thread Michał Górny
commit: 2beb2365843c5be5c1751d65dac6c9ed45c8626e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 20 14:09:47 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 20 14:20:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2beb2365

dev-python/clang-python: Add 17.0.0_pre20230620 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-17.0.0_pre20230620.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 7f33f2723a8e..f13d0a4b01ed 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c33
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0
+DIST llvm-project-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230620.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230620.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230620.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-17 Thread Sam James
commit: a928503f06a0700e7f9757c0ee2f4cb58d712299
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 17 23:21:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 17 23:21:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a928503f

dev-python/clang-python: Stabilize 16.0.5 amd64, #908385

Signed-off-by: Sam James  gentoo.org>

 dev-python/clang-python/clang-python-16.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/clang-python/clang-python-16.0.5.ebuild 
b/dev-python/clang-python/clang-python-16.0.5.ebuild
index 83f4d804e310..2ac8327fcc1b 100644
--- a/dev-python/clang-python/clang-python-16.0.5.ebuild
+++ b/dev-python/clang-python/clang-python-16.0.5.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-17 Thread Michał Górny
commit: 6dc892be547551fb80ea379361a65c7b687443ee
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 17 11:27:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 17 19:10:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dc892be

dev-python/clang-python: Add 17.0.0_pre20230615 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-17.0.0_pre20230615.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index cfa36c645444..7f33f2723a8e 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -1,3 +1,4 @@
+DIST llvm-project-0e08374abb2c61a3ae5c24d5f60be3b548da9778.tar.gz 191661586 
BLAKE2B 
05e5328d8eb9972bd6399e8c0f5ab241a78e6591e63ee520180c4ff154df432ad96f49ddc615a2208f69ffbec539b201fffeaf4906011b7a961cbc3860126ffa
 SHA512 
1d4429ecb2292e419ed6172cf251ba4a1448ed51424552ac48a159d0e3d3414777f7821382d1839b56f0c906fb0a147b1df4eecb071f8a5c11b0fc1d0d40d339
 DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99
 SHA512 
6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230615.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230615.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230615.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-14 Thread Michał Górny
commit: c42867e4cc68836be5115b4056d6d3cb4439a7de
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 14 10:02:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 14 10:31:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42867e4

dev-python/clang-python: Bump to 16.0.6

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-16.0.6.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index f6932dd317dc..cfa36c645444 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,4 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afbca5cddc6fbad6c9728726f7158f290ab87d464ff657e89e1c8fc3c474362cc865ff13c5d55ef758c848ea3e660d732cb2fdefa
 SHA512 
7008e7e9c8c2246fe98ba3f0c0fa91e41c88c4da427bf1cfdcce7ef57e5ea838efe7c58c523a7d1708e70d64a4338afe16d06fba2fc7ac5a6c19ca3d6ee41e99
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
+DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
+DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0

diff --git a/dev-python/clang-python/clang-python-16.0.6.ebuild 
b/dev-python/clang-python/clang-python-16.0.6.ebuild
new file mode 100644
index ..83f4d804e310
--- /dev/null
+++ b/dev-python/clang-python/clang-python-16.0.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-13 Thread Michał Górny
commit: 6159d17dcf397bf9776799cba72805d7076d5794
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 14 04:56:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 14 05:34:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6159d17d

dev-python/clang-python: Remove 16.0.6. (branch is closed)

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-python/clang-python-16.0.6..ebuild   | 54 --
 1 file changed, 54 deletions(-)

diff --git a/dev-python/clang-python/clang-python-16.0.6..ebuild 
b/dev-python/clang-python/clang-python-16.0.6..ebuild
deleted file mode 100644
index 5ec556a2ca20..
--- a/dev-python/clang-python/clang-python-16.0.6..ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-11 Thread Michał Górny
commit: a15382aa18894028336445f302aee65eb470fc7e
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 11 09:35:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 11 09:35:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a15382aa

dev-python/clang-python: 16.x live is now 16.0.6

Signed-off-by: Michał Górny  gentoo.org>

 .../{clang-python-16.0.5..ebuild => clang-python-16.0.6..ebuild}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/clang-python/clang-python-16.0.5..ebuild 
b/dev-python/clang-python/clang-python-16.0.6..ebuild
similarity index 100%
rename from dev-python/clang-python/clang-python-16.0.5..ebuild
rename to dev-python/clang-python/clang-python-16.0.6..ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-11 Thread Michał Górny
commit: 1be16212fd9bf86e5a99e1a3accce33f90dacd83
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 11 09:32:23 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 11 09:32:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1be16212

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  6 ---
 dev-python/clang-python/clang-python-16.0.3.ebuild | 54 --
 dev-python/clang-python/clang-python-16.0.4.ebuild | 54 --
 .../clang-python-17.0.0_pre20230526.ebuild | 54 --
 .../clang-python-17.0.0_pre20230602.ebuild | 54 --
 5 files changed, 222 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index c2b5e6e68ab1..f6932dd317dc 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -2,12 +2,6 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
-DIST llvm-project-16.0.3.src.tar.xz 117998136 BLAKE2B 
6117586a117c30515e9a5623ab91d29ba65d33c8041274de0ecdbce08ae4fe1c8c3b120db9ca625f42fdbb2301537b4ffe8f7add701c178282be4f583fa0c8ca
 SHA512 
2eb5eca1cbee92a499d7fba5729b61f31186353bc0545b17eefa300cf2b27c8d9a2f307443b2c1c9fe1b0ba412abf5143fdd4d25aaeb33d975a9a834221d7602
-DIST llvm-project-16.0.3.src.tar.xz.sig 566 BLAKE2B 
bbd96268b006fecffd7402452ae7559bd2ea42c7b771999f58893a48d66b1b056b476a7022c70e2ab8f11dba8318ccc141f97a05ece3b9ed3b4405a6890b0c3a
 SHA512 
cdd5e1c2a252ba58f9b7f8687d6cf9a330c188988707bd72f4632a8158a2db9ac180b3936da99b87e7e99886c39cb8517ebbb04b7d1be198e76964e31ec8dc58
-DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 
2ea3ef25290ce6180d271e42fbf5e02da973a21e3929c1ac8d1e3e7b268d39db97611e15654ca7e6527add24542d0eed0ee2b1b9d85dfd0ba661e55356bac5d3
 SHA512 
860bcb999005f55bed25691304983d7bf707f8e3246000595b412b9e88f4a1614be0adb43bbff9c30f49b969373fa0becab02a56ac37915a5f83c52ca8ea3f95
-DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 
43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0
 SHA512 
c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7
 DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afbca5cddc6fbad6c9728726f7158f290ab87d464ff657e89e1c8fc3c474362cc865ff13c5d55ef758c848ea3e660d732cb2fdefa
 SHA512 
7008e7e9c8c2246fe98ba3f0c0fa91e41c88c4da427bf1cfdcce7ef57e5ea838efe7c58c523a7d1708e70d64a4338afe16d06fba2fc7ac5a6c19ca3d6ee41e99
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 DIST llvm-project-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0
-DIST llvm-project-a2684acfb61d40f441e240035d7f1ba50da637c8.tar.gz 184900914 
BLAKE2B 
fb1f836738415a640bc84283722f6a7355a06bc8ac05b544dd4ad4ac9552dcf70040b82b0493c5b4485b28610412279ec0adcf467e71915167aa7d010c08216e
 SHA512 
c08ff8abc166399e692d3166ccf65eb4b647893cba8ffc10bcda815bc914a944855bac036d6349f6d820a6ff43d5417170e6ff8620d97a2a144a0898e95d09e3
-DIST llvm-project-f9753ef1893c3d953a0244e7935d3997499b079a.tar.gz 185505236 
BLAKE2B 
570a8937788027ee2cef0dad6be693c57b4a5634c0c1fc2bc1c2f534fb4ae00203f14b1bcf0a0f241e7e1e8c25120dc6ea7ede2a10bed397e1cc377318ebe7a0
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-10 Thread Michał Górny
commit: 36b642c37d16ac42ffec0b21a2caa4d2d8986e49
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 10 09:00:13 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 10 11:22:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b642c3

dev-python/clang-python: Add 17.0.0_pre20230609 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-17.0.0_pre20230609.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 8bfaddaf94b8..c2b5e6e68ab1 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,5 +8,6 @@ DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 
2ea3ef25290ce6180d271e42fb
 DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 
43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0
 SHA512 
c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7
 DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afbca5cddc6fbad6c9728726f7158f290ab87d464ff657e89e1c8fc3c474362cc865ff13c5d55ef758c848ea3e660d732cb2fdefa
 SHA512 
7008e7e9c8c2246fe98ba3f0c0fa91e41c88c4da427bf1cfdcce7ef57e5ea838efe7c58c523a7d1708e70d64a4338afe16d06fba2fc7ac5a6c19ca3d6ee41e99
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
+DIST llvm-project-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0
 DIST llvm-project-a2684acfb61d40f441e240035d7f1ba50da637c8.tar.gz 184900914 
BLAKE2B 
fb1f836738415a640bc84283722f6a7355a06bc8ac05b544dd4ad4ac9552dcf70040b82b0493c5b4485b28610412279ec0adcf467e71915167aa7d010c08216e
 SHA512 
c08ff8abc166399e692d3166ccf65eb4b647893cba8ffc10bcda815bc914a944855bac036d6349f6d820a6ff43d5417170e6ff8620d97a2a144a0898e95d09e3
 DIST llvm-project-f9753ef1893c3d953a0244e7935d3997499b079a.tar.gz 185505236 
BLAKE2B 
570a8937788027ee2cef0dad6be693c57b4a5634c0c1fc2bc1c2f534fb4ae00203f14b1bcf0a0f241e7e1e8c25120dc6ea7ede2a10bed397e1cc377318ebe7a0
 SHA512 
c12eade7c9790ec2a790017b1451a15f0ff7d1b60879f08a448edcb4f162703650b244fdc2fc284335dff4b2a37ef5d488e0d771abee79b49cac94b9e478f010

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230609.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230609.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230609.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-04 Thread Michał Górny
commit: bd5bb8a6a6da7fc13afea8b93c21522dad2445a3
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun  4 06:11:41 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun  4 06:21:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5bb8a6

dev-python/clang-python: Add 17.0.0_pre20230602 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-17.0.0_pre20230602.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 6b6b42750191..8bfaddaf94b8 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 
43cb2147f12f98f864797158e8ef
 DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afbca5cddc6fbad6c9728726f7158f290ab87d464ff657e89e1c8fc3c474362cc865ff13c5d55ef758c848ea3e660d732cb2fdefa
 SHA512 
7008e7e9c8c2246fe98ba3f0c0fa91e41c88c4da427bf1cfdcce7ef57e5ea838efe7c58c523a7d1708e70d64a4338afe16d06fba2fc7ac5a6c19ca3d6ee41e99
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 DIST llvm-project-a2684acfb61d40f441e240035d7f1ba50da637c8.tar.gz 184900914 
BLAKE2B 
fb1f836738415a640bc84283722f6a7355a06bc8ac05b544dd4ad4ac9552dcf70040b82b0493c5b4485b28610412279ec0adcf467e71915167aa7d010c08216e
 SHA512 
c08ff8abc166399e692d3166ccf65eb4b647893cba8ffc10bcda815bc914a944855bac036d6349f6d820a6ff43d5417170e6ff8620d97a2a144a0898e95d09e3
+DIST llvm-project-f9753ef1893c3d953a0244e7935d3997499b079a.tar.gz 185505236 
BLAKE2B 
570a8937788027ee2cef0dad6be693c57b4a5634c0c1fc2bc1c2f534fb4ae00203f14b1bcf0a0f241e7e1e8c25120dc6ea7ede2a10bed397e1cc377318ebe7a0
 SHA512 
c12eade7c9790ec2a790017b1451a15f0ff7d1b60879f08a448edcb4f162703650b244fdc2fc284335dff4b2a37ef5d488e0d771abee79b49cac94b9e478f010

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230602.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230602.ebuild
new file mode 100644
index ..0b4b598d92ff
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230602.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-02 Thread Michał Górny
commit: 79b3f44ee40077bcac2c0ab40648c4aef22bd64a
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun  2 15:28:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun  2 15:31:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79b3f44e

dev-python/clang-python: Remove old snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 -
 .../clang-python-17.0.0_pre20230520.ebuild | 54 --
 2 files changed, 55 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index d616caaf795e..a4f891667b74 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,4 +7,3 @@ DIST llvm-project-16.0.3.src.tar.xz.sig 566 BLAKE2B 
bbd96268b006fecffd7402452ae7
 DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 
2ea3ef25290ce6180d271e42fbf5e02da973a21e3929c1ac8d1e3e7b268d39db97611e15654ca7e6527add24542d0eed0ee2b1b9d85dfd0ba661e55356bac5d3
 SHA512 
860bcb999005f55bed25691304983d7bf707f8e3246000595b412b9e88f4a1614be0adb43bbff9c30f49b969373fa0becab02a56ac37915a5f83c52ca8ea3f95
 DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 
43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0
 SHA512 
c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7
 DIST llvm-project-a2684acfb61d40f441e240035d7f1ba50da637c8.tar.gz 184900914 
BLAKE2B 
fb1f836738415a640bc84283722f6a7355a06bc8ac05b544dd4ad4ac9552dcf70040b82b0493c5b4485b28610412279ec0adcf467e71915167aa7d010c08216e
 SHA512 
c08ff8abc166399e692d3166ccf65eb4b647893cba8ffc10bcda815bc914a944855bac036d6349f6d820a6ff43d5417170e6ff8620d97a2a144a0898e95d09e3
-DIST llvm-project-abbb22cc0c9c33dedb8d53c2bd3e703f92baace7.tar.gz 183193919 
BLAKE2B 
75c63d39918f7ec0faca0b1d03ba17dbd7d39a6f1d3a031dcb005ae1729933d8481f0bd745ec029ab21779525b2ddaf2989eaca2aed2b0e9b60c50ef71c7fc11
 SHA512 
f0c1b6fe2e087db202d32de05613b7570bd9a82dfef2e464014c9d4c9ba02c20d423cb783aa40ce5e9c9e074288efb2e5b6d70d55913bd285108e747400f55e7

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild
deleted file mode 100644
index 5ec556a2ca20..
--- a/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-06-02 Thread Michał Górny
commit: 6b9803969b4a81f3efdafff5fd6ede05664f2b01
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun  2 15:07:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun  2 15:09:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b980396

dev-python/clang-python: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/clang-python-17.0.0..ebuild| 2 +-
 dev-python/clang-python/clang-python-17.0.0_pre20230526.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/clang-python/clang-python-17.0.0..ebuild 
b/dev-python/clang-python/clang-python-17.0.0..ebuild
index 5ec556a2ca20..0b4b598d92ff 100644
--- a/dev-python/clang-python/clang-python-17.0.0..ebuild
+++ b/dev-python/clang-python/clang-python-17.0.0..ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit llvm.org python-r1
 
 DESCRIPTION="Python bindings for sys-devel/clang"

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230526.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230526.ebuild
index 5ec556a2ca20..0b4b598d92ff 100644
--- a/dev-python/clang-python/clang-python-17.0.0_pre20230526.ebuild
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230526.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit llvm.org python-r1
 
 DESCRIPTION="Python bindings for sys-devel/clang"



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-05-26 Thread Michał Górny
commit: f6d07aefbd5e9585cba97c845141a7a32e2884e1
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 27 05:48:34 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 27 05:52:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d07aef

dev-python/clang-python: Remove old snapshots

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 -
 .../clang-python-17.0.0_pre20230502.ebuild | 54 --
 .../clang-python-17.0.0_pre20230512.ebuild | 54 --
 3 files changed, 110 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 8526c1e2e3e1..03db32342aab 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -6,6 +6,4 @@ DIST llvm-project-16.0.3.src.tar.xz 117998136 BLAKE2B 
6117586a117c30515e9a5623ab
 DIST llvm-project-16.0.3.src.tar.xz.sig 566 BLAKE2B 
bbd96268b006fecffd7402452ae7559bd2ea42c7b771999f58893a48d66b1b056b476a7022c70e2ab8f11dba8318ccc141f97a05ece3b9ed3b4405a6890b0c3a
 SHA512 
cdd5e1c2a252ba58f9b7f8687d6cf9a330c188988707bd72f4632a8158a2db9ac180b3936da99b87e7e99886c39cb8517ebbb04b7d1be198e76964e31ec8dc58
 DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 
2ea3ef25290ce6180d271e42fbf5e02da973a21e3929c1ac8d1e3e7b268d39db97611e15654ca7e6527add24542d0eed0ee2b1b9d85dfd0ba661e55356bac5d3
 SHA512 
860bcb999005f55bed25691304983d7bf707f8e3246000595b412b9e88f4a1614be0adb43bbff9c30f49b969373fa0becab02a56ac37915a5f83c52ca8ea3f95
 DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 
43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0
 SHA512 
c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7
-DIST llvm-project-52882de0e641487329c9e093a90ea3dad01842c8.tar.gz 182953335 
BLAKE2B 
98682729992d73202e35b540d5d0d87e2acf44e4ab6896a0b6f9ac4a7423f55ad370ae1d7e919a6c86dc7f138a66890ac89b852b03305612d248ab567833f8be
 SHA512 
3685aff0f648e9b477e1e01edebe4799498c21587e2ed5577e2fdef98bb21ea215e206606a11692fbb93a0989fd59fd324faff2c4d97b7afca0851b53f123f05
-DIST llvm-project-7d436d56b60b36508b94e39d08761f1405a9c770.tar.gz 183363091 
BLAKE2B 
e0d3520814b3455e33107715697f00d653ad46bb8d8200caf42c42743520f389217ea2e57449bbc2e98126b602b2aa344e4125e4b1f92152f7957a11a9b9a150
 SHA512 
65a8e30702217e5e1309efe3daeda5115eeb2e8d25238db1fa4e8dcfc729d75655a10b3394f2f70b7e7efb8ea33a31b6e2482065cc81805023101da00584a81e
 DIST llvm-project-abbb22cc0c9c33dedb8d53c2bd3e703f92baace7.tar.gz 183193919 
BLAKE2B 
75c63d39918f7ec0faca0b1d03ba17dbd7d39a6f1d3a031dcb005ae1729933d8481f0bd745ec029ab21779525b2ddaf2989eaca2aed2b0e9b60c50ef71c7fc11
 SHA512 
f0c1b6fe2e087db202d32de05613b7570bd9a82dfef2e464014c9d4c9ba02c20d423cb783aa40ce5e9c9e074288efb2e5b6d70d55913bd285108e747400f55e7

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230502.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230502.ebuild
deleted file mode 100644
index 5ec556a2ca20..
--- a/dev-python/clang-python/clang-python-17.0.0_pre20230502.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   >=sys-devel/clang-${PV}:*
-   !sys-devel/llvm:0[clang(-),python(-)]
-   !sys-devel/clang:0[python(-)]
-"
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-"
-
-LLVM_COMPONENTS=( clang/bindings/python )
-llvm.org_set_globals
-
-python_test() {
-   # tests rely on results from a specific clang version, so override
-   # the search path
-   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
-   local -x CLANG_NO_DEFAULT_CONFIG=1
-   "${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
-}

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230512.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230512.ebuild
deleted file mode 100644
index 5ec556a2ca20..
--- a/dev-python/clang-python/clang-python-17.0.0_pre20230512.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public 

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-05-20 Thread Michał Górny
commit: 4d21de17708209177441f312d4036d2c2de59c85
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 20 19:20:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 21 04:03:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d21de17

dev-python/clang-python: Add 17.0.0_pre20230520 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-17.0.0_pre20230520.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 613e780805df..8526c1e2e3e1 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 
2ea3ef25290ce6180d271e42fb
 DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 
43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0
 SHA512 
c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7
 DIST llvm-project-52882de0e641487329c9e093a90ea3dad01842c8.tar.gz 182953335 
BLAKE2B 
98682729992d73202e35b540d5d0d87e2acf44e4ab6896a0b6f9ac4a7423f55ad370ae1d7e919a6c86dc7f138a66890ac89b852b03305612d248ab567833f8be
 SHA512 
3685aff0f648e9b477e1e01edebe4799498c21587e2ed5577e2fdef98bb21ea215e206606a11692fbb93a0989fd59fd324faff2c4d97b7afca0851b53f123f05
 DIST llvm-project-7d436d56b60b36508b94e39d08761f1405a9c770.tar.gz 183363091 
BLAKE2B 
e0d3520814b3455e33107715697f00d653ad46bb8d8200caf42c42743520f389217ea2e57449bbc2e98126b602b2aa344e4125e4b1f92152f7957a11a9b9a150
 SHA512 
65a8e30702217e5e1309efe3daeda5115eeb2e8d25238db1fa4e8dcfc729d75655a10b3394f2f70b7e7efb8ea33a31b6e2482065cc81805023101da00584a81e
+DIST llvm-project-abbb22cc0c9c33dedb8d53c2bd3e703f92baace7.tar.gz 183193919 
BLAKE2B 
75c63d39918f7ec0faca0b1d03ba17dbd7d39a6f1d3a031dcb005ae1729933d8481f0bd745ec029ab21779525b2ddaf2989eaca2aed2b0e9b60c50ef71c7fc11
 SHA512 
f0c1b6fe2e087db202d32de05613b7570bd9a82dfef2e464014c9d4c9ba02c20d423cb783aa40ce5e9c9e074288efb2e5b6d70d55913bd285108e747400f55e7

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild
new file mode 100644
index ..5ec556a2ca20
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230520.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-05-17 Thread Michał Górny
commit: bd9c3f094950fbc694aae6e761589b0ef5888e8b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 17 15:13:33 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 18 03:14:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9c3f09

dev-python/clang-python: Bump to 16.0.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-16.0.4.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 9ebe26ea1ca5..613e780805df 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -4,5 +4,7 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.3.src.tar.xz 117998136 BLAKE2B 
6117586a117c30515e9a5623ab91d29ba65d33c8041274de0ecdbce08ae4fe1c8c3b120db9ca625f42fdbb2301537b4ffe8f7add701c178282be4f583fa0c8ca
 SHA512 
2eb5eca1cbee92a499d7fba5729b61f31186353bc0545b17eefa300cf2b27c8d9a2f307443b2c1c9fe1b0ba412abf5143fdd4d25aaeb33d975a9a834221d7602
 DIST llvm-project-16.0.3.src.tar.xz.sig 566 BLAKE2B 
bbd96268b006fecffd7402452ae7559bd2ea42c7b771999f58893a48d66b1b056b476a7022c70e2ab8f11dba8318ccc141f97a05ece3b9ed3b4405a6890b0c3a
 SHA512 
cdd5e1c2a252ba58f9b7f8687d6cf9a330c188988707bd72f4632a8158a2db9ac180b3936da99b87e7e99886c39cb8517ebbb04b7d1be198e76964e31ec8dc58
+DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 
2ea3ef25290ce6180d271e42fbf5e02da973a21e3929c1ac8d1e3e7b268d39db97611e15654ca7e6527add24542d0eed0ee2b1b9d85dfd0ba661e55356bac5d3
 SHA512 
860bcb999005f55bed25691304983d7bf707f8e3246000595b412b9e88f4a1614be0adb43bbff9c30f49b969373fa0becab02a56ac37915a5f83c52ca8ea3f95
+DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 
43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0
 SHA512 
c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7
 DIST llvm-project-52882de0e641487329c9e093a90ea3dad01842c8.tar.gz 182953335 
BLAKE2B 
98682729992d73202e35b540d5d0d87e2acf44e4ab6896a0b6f9ac4a7423f55ad370ae1d7e919a6c86dc7f138a66890ac89b852b03305612d248ab567833f8be
 SHA512 
3685aff0f648e9b477e1e01edebe4799498c21587e2ed5577e2fdef98bb21ea215e206606a11692fbb93a0989fd59fd324faff2c4d97b7afca0851b53f123f05
 DIST llvm-project-7d436d56b60b36508b94e39d08761f1405a9c770.tar.gz 183363091 
BLAKE2B 
e0d3520814b3455e33107715697f00d653ad46bb8d8200caf42c42743520f389217ea2e57449bbc2e98126b602b2aa344e4125e4b1f92152f7957a11a9b9a150
 SHA512 
65a8e30702217e5e1309efe3daeda5115eeb2e8d25238db1fa4e8dcfc729d75655a10b3394f2f70b7e7efb8ea33a31b6e2482065cc81805023101da00584a81e

diff --git a/dev-python/clang-python/clang-python-16.0.4.ebuild 
b/dev-python/clang-python/clang-python-16.0.4.ebuild
new file mode 100644
index ..83f4d804e310
--- /dev/null
+++ b/dev-python/clang-python/clang-python-16.0.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-05-17 Thread Michał Górny
commit: 54806267c69945c8dbf7e15d1eb882961efe3269
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 17 06:22:03 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 17 06:25:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54806267

dev-python/clang-python: 16.x live is now 16.0.5

Signed-off-by: Michał Górny  gentoo.org>

 .../{clang-python-16.0.4..ebuild => clang-python-16.0.5..ebuild}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/clang-python/clang-python-16.0.4..ebuild 
b/dev-python/clang-python/clang-python-16.0.5..ebuild
similarity index 100%
rename from dev-python/clang-python/clang-python-16.0.4..ebuild
rename to dev-python/clang-python/clang-python-16.0.5..ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-05-12 Thread Michał Górny
commit: 5722573d9c9f7e420352ec75eb36a05b2b10a51f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May 12 13:56:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May 12 18:26:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5722573d

dev-python/clang-python: Add 17.0.0_pre20230512 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  1 +
 .../clang-python-17.0.0_pre20230512.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index 7c2a27cc6176..9ebe26ea1ca5 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -5,3 +5,4 @@ DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c
 DIST llvm-project-16.0.3.src.tar.xz 117998136 BLAKE2B 
6117586a117c30515e9a5623ab91d29ba65d33c8041274de0ecdbce08ae4fe1c8c3b120db9ca625f42fdbb2301537b4ffe8f7add701c178282be4f583fa0c8ca
 SHA512 
2eb5eca1cbee92a499d7fba5729b61f31186353bc0545b17eefa300cf2b27c8d9a2f307443b2c1c9fe1b0ba412abf5143fdd4d25aaeb33d975a9a834221d7602
 DIST llvm-project-16.0.3.src.tar.xz.sig 566 BLAKE2B 
bbd96268b006fecffd7402452ae7559bd2ea42c7b771999f58893a48d66b1b056b476a7022c70e2ab8f11dba8318ccc141f97a05ece3b9ed3b4405a6890b0c3a
 SHA512 
cdd5e1c2a252ba58f9b7f8687d6cf9a330c188988707bd72f4632a8158a2db9ac180b3936da99b87e7e99886c39cb8517ebbb04b7d1be198e76964e31ec8dc58
 DIST llvm-project-52882de0e641487329c9e093a90ea3dad01842c8.tar.gz 182953335 
BLAKE2B 
98682729992d73202e35b540d5d0d87e2acf44e4ab6896a0b6f9ac4a7423f55ad370ae1d7e919a6c86dc7f138a66890ac89b852b03305612d248ab567833f8be
 SHA512 
3685aff0f648e9b477e1e01edebe4799498c21587e2ed5577e2fdef98bb21ea215e206606a11692fbb93a0989fd59fd324faff2c4d97b7afca0851b53f123f05
+DIST llvm-project-7d436d56b60b36508b94e39d08761f1405a9c770.tar.gz 183363091 
BLAKE2B 
e0d3520814b3455e33107715697f00d653ad46bb8d8200caf42c42743520f389217ea2e57449bbc2e98126b602b2aa344e4125e4b1f92152f7957a11a9b9a150
 SHA512 
65a8e30702217e5e1309efe3daeda5115eeb2e8d25238db1fa4e8dcfc729d75655a10b3394f2f70b7e7efb8ea33a31b6e2482065cc81805023101da00584a81e

diff --git a/dev-python/clang-python/clang-python-17.0.0_pre20230512.ebuild 
b/dev-python/clang-python/clang-python-17.0.0_pre20230512.ebuild
new file mode 100644
index ..5ec556a2ca20
--- /dev/null
+++ b/dev-python/clang-python/clang-python-17.0.0_pre20230512.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-05-06 Thread Michał Górny
commit: 0fd6aab242ba13b85fa3acfcdaa12b7079c98785
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May  6 14:07:04 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May  6 14:10:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd6aab2

dev-python/clang-python: 16.x live is now 16.0.4

Signed-off-by: Michał Górny  gentoo.org>

 .../{clang-python-16.0.3..ebuild => clang-python-16.0.4..ebuild}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/clang-python/clang-python-16.0.3..ebuild 
b/dev-python/clang-python/clang-python-16.0.4..ebuild
similarity index 100%
rename from dev-python/clang-python/clang-python-16.0.3..ebuild
rename to dev-python/clang-python/clang-python-16.0.4..ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-05-06 Thread Michał Górny
commit: 0f8f9763ba00ad39585748829e5c0d5eb62b5eb1
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May  6 14:06:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May  6 14:10:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f8f9763

dev-python/clang-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  4 --
 dev-python/clang-python/clang-python-16.0.1.ebuild | 54 --
 dev-python/clang-python/clang-python-16.0.2.ebuild | 54 --
 3 files changed, 112 deletions(-)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index aa0dcbae9ef9..7c2a27cc6176 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -2,10 +2,6 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
-DIST llvm-project-16.0.1.src.tar.xz 117990772 BLAKE2B 
298189ce6d7245711e5bd3e03fa74d603dda5a458463ca0cb261fe6949290c46a70abbd1ad1c556e08da3adc5df577305e267c1135214b900d78502e39b46bc5
 SHA512 
98fc11c0ad90d5e5a2cb123b497b89a1583fe7f91b3ff05c335037801ef66cbfab08f6d2eff539f0da238e9685d4bc7a9fb2578e28864fc9e9357b84129cefaa
-DIST llvm-project-16.0.1.src.tar.xz.sig 566 BLAKE2B 
06c03d789e63ab30bba4c56ba9ec91400d804448482d6a7fd395252b3b9166a5ee7a42a94c2074aa0d1809a3327f993d8932211f3fc05ad281db64c17b2a7094
 SHA512 
f42db28eb8280db06b1c78fa7a7aaea3a79499cecee1a64ce18c49b90c755b3a78fc93f01d1855887c7918ccc927c3b6147cfc916520f05d4cef65381ca6fe60
-DIST llvm-project-16.0.2.src.tar.xz 117995768 BLAKE2B 
b329b2b123428f3a966a96f074a75520f07d12fc13ec755403cff2346b23195e6a0c05ca9e789b4cf5b4b3557a922bd41d8dffb6056ee33fbbf2b81001511fae
 SHA512 
4ca76aaaca8812a06a94071e7444a3213d85dca51ea86f6125f854776f69a3e088a92d0621e3911e526f280b35bfb778fb3742c6010d3ed1eba605c08720377c
-DIST llvm-project-16.0.2.src.tar.xz.sig 566 BLAKE2B 
8243748ac27e4eec3cc011371e179e19f1005336f07d956fd358f649d1429c8d0ea22ecc376b1dec9fe3db971467ad1dd63e97bb089885d0e1994eeab26b6fd7
 SHA512 
dbe9367a259954a38f2369b2f226726162090227f1a5ae8c8809eaae47cad7b3b26c754633e6e5c54cacd6360a504d7ba4c659d9232c1648388d657a2aaad10c
 DIST llvm-project-16.0.3.src.tar.xz 117998136 BLAKE2B 
6117586a117c30515e9a5623ab91d29ba65d33c8041274de0ecdbce08ae4fe1c8c3b120db9ca625f42fdbb2301537b4ffe8f7add701c178282be4f583fa0c8ca
 SHA512 
2eb5eca1cbee92a499d7fba5729b61f31186353bc0545b17eefa300cf2b27c8d9a2f307443b2c1c9fe1b0ba412abf5143fdd4d25aaeb33d975a9a834221d7602
 DIST llvm-project-16.0.3.src.tar.xz.sig 566 BLAKE2B 
bbd96268b006fecffd7402452ae7559bd2ea42c7b771999f58893a48d66b1b056b476a7022c70e2ab8f11dba8318ccc141f97a05ece3b9ed3b4405a6890b0c3a
 SHA512 
cdd5e1c2a252ba58f9b7f8687d6cf9a330c188988707bd72f4632a8158a2db9ac180b3936da99b87e7e99886c39cb8517ebbb04b7d1be198e76964e31ec8dc58
 DIST llvm-project-52882de0e641487329c9e093a90ea3dad01842c8.tar.gz 182953335 
BLAKE2B 
98682729992d73202e35b540d5d0d87e2acf44e4ab6896a0b6f9ac4a7423f55ad370ae1d7e919a6c86dc7f138a66890ac89b852b03305612d248ab567833f8be
 SHA512 
3685aff0f648e9b477e1e01edebe4799498c21587e2ed5577e2fdef98bb21ea215e206606a11692fbb93a0989fd59fd324faff2c4d97b7afca0851b53f123f05

diff --git a/dev-python/clang-python/clang-python-16.0.1.ebuild 
b/dev-python/clang-python/clang-python-16.0.1.ebuild
deleted file mode 100644
index 83f4d804e310..
--- a/dev-python/clang-python/clang-python-16.0.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit llvm.org python-r1
-
-DESCRIPTION="Python bindings for sys-devel/clang"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# The module is opening libclang.so directly, and doing some blasphemy
-# on top of it.
-DEPEND="
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2023-05-03 Thread Michał Górny
commit: a48fa9eeaf8b366ecd4e937eb0476e6beae2a5c3
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May  3 10:04:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May  3 11:09:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a48fa9ee

dev-python/clang-python: Bump to 16.0.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/clang-python/Manifest   |  2 +
 dev-python/clang-python/clang-python-16.0.3.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index f4fc97bcbf33..2902d45f705f 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -7,6 +7,8 @@ DIST llvm-project-16.0.1.src.tar.xz 117990772 BLAKE2B 
298189ce6d7245711e5bd3e03f
 DIST llvm-project-16.0.1.src.tar.xz.sig 566 BLAKE2B 
06c03d789e63ab30bba4c56ba9ec91400d804448482d6a7fd395252b3b9166a5ee7a42a94c2074aa0d1809a3327f993d8932211f3fc05ad281db64c17b2a7094
 SHA512 
f42db28eb8280db06b1c78fa7a7aaea3a79499cecee1a64ce18c49b90c755b3a78fc93f01d1855887c7918ccc927c3b6147cfc916520f05d4cef65381ca6fe60
 DIST llvm-project-16.0.2.src.tar.xz 117995768 BLAKE2B 
b329b2b123428f3a966a96f074a75520f07d12fc13ec755403cff2346b23195e6a0c05ca9e789b4cf5b4b3557a922bd41d8dffb6056ee33fbbf2b81001511fae
 SHA512 
4ca76aaaca8812a06a94071e7444a3213d85dca51ea86f6125f854776f69a3e088a92d0621e3911e526f280b35bfb778fb3742c6010d3ed1eba605c08720377c
 DIST llvm-project-16.0.2.src.tar.xz.sig 566 BLAKE2B 
8243748ac27e4eec3cc011371e179e19f1005336f07d956fd358f649d1429c8d0ea22ecc376b1dec9fe3db971467ad1dd63e97bb089885d0e1994eeab26b6fd7
 SHA512 
dbe9367a259954a38f2369b2f226726162090227f1a5ae8c8809eaae47cad7b3b26c754633e6e5c54cacd6360a504d7ba4c659d9232c1648388d657a2aaad10c
+DIST llvm-project-16.0.3.src.tar.xz 117998136 BLAKE2B 
6117586a117c30515e9a5623ab91d29ba65d33c8041274de0ecdbce08ae4fe1c8c3b120db9ca625f42fdbb2301537b4ffe8f7add701c178282be4f583fa0c8ca
 SHA512 
2eb5eca1cbee92a499d7fba5729b61f31186353bc0545b17eefa300cf2b27c8d9a2f307443b2c1c9fe1b0ba412abf5143fdd4d25aaeb33d975a9a834221d7602
+DIST llvm-project-16.0.3.src.tar.xz.sig 566 BLAKE2B 
bbd96268b006fecffd7402452ae7559bd2ea42c7b771999f58893a48d66b1b056b476a7022c70e2ab8f11dba8318ccc141f97a05ece3b9ed3b4405a6890b0c3a
 SHA512 
cdd5e1c2a252ba58f9b7f8687d6cf9a330c188988707bd72f4632a8158a2db9ac180b3936da99b87e7e99886c39cb8517ebbb04b7d1be198e76964e31ec8dc58
 DIST llvm-project-52882de0e641487329c9e093a90ea3dad01842c8.tar.gz 182953335 
BLAKE2B 
98682729992d73202e35b540d5d0d87e2acf44e4ab6896a0b6f9ac4a7423f55ad370ae1d7e919a6c86dc7f138a66890ac89b852b03305612d248ab567833f8be
 SHA512 
3685aff0f648e9b477e1e01edebe4799498c21587e2ed5577e2fdef98bb21ea215e206606a11692fbb93a0989fd59fd324faff2c4d97b7afca0851b53f123f05
 DIST llvm-project-5c60a08c696c0420ddc5fdad5b8e50a7528cb3bf.tar.gz 182291041 
BLAKE2B 
f5997611e0293df515d4494d14895cc8fbe22b536f5c419e4ad7d098acbf2b1046ceb332d865eacdae0b7fa1a77b78090551976835dd1b95b5270c9f6e12e410
 SHA512 
6cda8e55b4fc70e94838c772c56213c811affda96fb98a03d432348f995a313447d0e0e84533350e1fda3162d82633b260ccd8e3b1d59d3216187b44dc5556fb
 DIST llvm-project-5ea158077ec9ca50857ede5cbb0b27c61663fd55.tar.gz 182543024 
BLAKE2B 
32f5a9ddaa6c7e283d97256d7bd68634f2f8ed6d7167e743ba8076809ea1a3a7159f9ccc56a6e5a8838481cade07389669d8a35b17b5922da0cbef04c80131f8
 SHA512 
3d180c04ef39adbc9c6ee485e21cdf63fde362f0a22026b00a6d3eba6243e4c8e96fc088335f31051e54f4546d62569131a671d2e655ea735d597361f5732827

diff --git a/dev-python/clang-python/clang-python-16.0.3.ebuild 
b/dev-python/clang-python/clang-python-16.0.3.ebuild
new file mode 100644
index ..83f4d804e310
--- /dev/null
+++ b/dev-python/clang-python/clang-python-16.0.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit llvm.org python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+DEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+"
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+"
+
+LLVM_COMPONENTS=( clang/bindings/python )
+llvm.org_set_globals
+
+python_test() {
+   # tests rely on results from a specific clang version, so override
+   # the search path
+   local -x 
CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
+   local -x CLANG_NO_DEFAULT_CONFIG=1
+   "${EPYTHON}" -m unittest discover -v || die "Tests fail with 

  1   2   3   4   >