public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools-rust/
Date: Mon, 30 Oct 2023 18:09:59 +0000 (UTC)	[thread overview]
Message-ID: <1698689070.2e9979f1c95d8b603eacfab039769954d0415528.mgorny@gentoo> (raw)

commit:     2e9979f1c95d8b603eacfab039769954d0415528
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 30 16:58:11 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 30 18:04:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e9979f1

dev-python/setuptools-rust: Bump to 1.8.1

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

 dev-python/setuptools-rust/Manifest                |   1 +
 .../setuptools-rust/setuptools-rust-1.8.1.ebuild   | 199 +++++++++++++++++++++
 2 files changed, 200 insertions(+)

diff --git a/dev-python/setuptools-rust/Manifest b/dev-python/setuptools-rust/Manifest
index 0ab7e96617ae..736c2737b801 100644
--- a/dev-python/setuptools-rust/Manifest
+++ b/dev-python/setuptools-rust/Manifest
@@ -85,6 +85,7 @@ DIST servo_arc-0.1.1.crate 9817 BLAKE2B 88586ca0c969df8bfb3a04ba4a68960699587643
 DIST setuptools-rust-1.6.0.gh.tar.gz 294915 BLAKE2B 1b59e917a951a0a60f7e2bb723c136bc8f7a2c92dcdf816dcf52c55bf2075e323766c3c0f6c61e9e9d519236f496a5462396ff35ae760afc1680664c0c0a9da0 SHA512 93945d06e8cb38c5764fa8ec12b039111b3ee677dfe66350a4f554f1c1622885a0dcef34a1b429172859bca1081df8b82c05ce81b6714c6d43cfa073ade75785
 DIST setuptools-rust-1.7.0.gh.tar.gz 301019 BLAKE2B 8186e12c916019861d32ae2c1987d5a1266ab925972f2e248cc8d40926f7e7cd507976ccd9b3e1a4a6b8961dbcdcb43287ebb42ecb5c602b4518e8013d0c315a SHA512 08e24de0962591f98abc72d3acfe76f66784e7dd491618ae33682138cdbc714af0d030c6880d907f2be7fd56bb550a599e684374b9fa40d70766d8435f92c508
 DIST setuptools-rust-1.8.0.gh.tar.gz 305788 BLAKE2B 77343da330e1f105e511d6cc640b50e7cf343462e179bddd9db525424d921c715e8cba80e4c2f57070b827efe2fe5522d57d71617868b79500f016f936272b91 SHA512 3e98724d03f8a3c21151d2f30fd99cfcd981b46f5b76c4ba468b82090bf1331abcfe5697a4ebfc98106f02d042707e81078cad50b4ff415741569cfeda11f288
+DIST setuptools-rust-1.8.1.gh.tar.gz 305821 BLAKE2B b5c7b4fe5475d9725ea4bb2e186604ba54ea8662c1ba244d7db8c22935fa190f54083545dc0e4fb58e6e37675172a6104812fc3833eb14d24687af8dfcc7ccd7 SHA512 153dea2d1a73cef6a171454844a61caab07f38ce0902b0b3972afe5051eddf33a1869b822bd9b7c6e288855e31c47ef2037e398a7aea66f0fb5b6ece3dec9f48
 DIST siphasher-0.3.10.crate 9889 BLAKE2B e5dd6d265340b4c9e4266ab1ff3a20f1fb87fd493b2d7b5fba32d26421cc858b38929e4ab96941d0c055375b8acebbd04236d994cadca324500ed05064b9bfc9 SHA512 f90425a2cccc9575d377bb92a765d34653ddef1ac12b7c63dc6d700aaa74b525787e11609061c2d3e44ea56fe0e4b8f93f7b13f0279b5de2e0f710c5caffd4ce
 DIST smallvec-1.11.0.crate 34680 BLAKE2B e54d56f6bbffbfa7ce5fe5f04e325b2e5cf19d290e4be278bc00a136e26284625b9c18c7c2b10b7fb8fad0ea7e3770f3cdbcfbaa913f5ac08d0a2f8b4e0de188 SHA512 41bfbecbc2c244497568a41724d65791ec3fd6d8057813d521367cca316c09c2b28fb3973826236b01c1f5d2f905d8d22b0c3c47f957a9ff5d7685591f15ccd7
 DIST smallvec-1.8.0.crate 27992 BLAKE2B d02897eb4d3901805be86cafd5d3dc6768b31c2ee4d0a9d7eb455e2a21be2864ea83589f4ffde102dbbafb66e3c197707af770b5ef184b8e244d992189644b84 SHA512 17687cfa6aaf95a1df063adc3a412a7c41918a0d003eaac90f7d9e859fb8fa1d652eedee17a4cb3aaae9b33a2043f89e796519e3a7a3992b292f04049bf80b0c

diff --git a/dev-python/setuptools-rust/setuptools-rust-1.8.1.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.8.1.ebuild
new file mode 100644
index 000000000000..6cb7508ab8ea
--- /dev/null
+++ b/dev-python/setuptools-rust/setuptools-rust-1.8.1.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CARGO_OPTIONAL=yes
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+CRATES="
+	autocfg@1.1.0
+	bitflags@1.3.2
+	byteorder@1.4.3
+	cfg-if@1.0.0
+	convert_case@0.4.0
+	cssparser-macros@0.6.0
+	cssparser@0.27.2
+	derive_more@0.99.17
+	dtoa-short@0.3.3
+	dtoa@0.4.8
+	futf@0.1.5
+	fxhash@0.2.1
+	getrandom@0.1.16
+	heck@0.4.1
+	html5ever@0.25.1
+	indoc@1.0.9
+	indoc@2.0.4
+	instant@0.1.12
+	itoa@0.4.8
+	kuchiki@0.8.1
+	lazy_static@1.4.0
+	libc@0.2.121
+	libc@0.2.147
+	lock_api@0.4.10
+	lock_api@0.4.6
+	log@0.4.14
+	mac@0.1.1
+	markup5ever@0.10.1
+	matches@0.1.9
+	memoffset@0.9.0
+	new_debug_unreachable@1.0.4
+	nodrop@0.1.14
+	once_cell@1.10.0
+	once_cell@1.18.0
+	parking_lot@0.11.2
+	parking_lot@0.12.1
+	parking_lot_core@0.8.5
+	parking_lot_core@0.9.8
+	phf@0.8.0
+	phf_codegen@0.8.0
+	phf_generator@0.8.0
+	phf_macros@0.8.0
+	phf_shared@0.10.0
+	phf_shared@0.8.0
+	ppv-lite86@0.2.16
+	precomputed-hash@0.1.1
+	proc-macro-hack@0.5.19
+	proc-macro2@1.0.66
+	proc-macro2@1.0.69
+	pyo3-build-config@0.19.2
+	pyo3-build-config@0.20.0
+	pyo3-ffi@0.19.2
+	pyo3-ffi@0.20.0
+	pyo3-macros-backend@0.19.2
+	pyo3-macros-backend@0.20.0
+	pyo3-macros@0.19.2
+	pyo3-macros@0.20.0
+	pyo3@0.19.2
+	pyo3@0.20.0
+	quote@1.0.32
+	quote@1.0.33
+	rand@0.7.3
+	rand_chacha@0.2.2
+	rand_core@0.5.1
+	rand_hc@0.2.0
+	rand_pcg@0.2.1
+	redox_syscall@0.2.11
+	redox_syscall@0.3.5
+	rustc_version@0.4.0
+	scopeguard@1.1.0
+	scopeguard@1.2.0
+	selectors@0.22.0
+	semver@1.0.6
+	serde@1.0.136
+	servo_arc@0.1.1
+	siphasher@0.3.10
+	smallvec@1.11.0
+	smallvec@1.8.0
+	stable_deref_trait@1.2.0
+	string_cache@0.8.3
+	string_cache_codegen@0.5.1
+	syn@1.0.109
+	syn@1.0.89
+	syn@2.0.32
+	syn@2.0.38
+	target-lexicon@0.12.11
+	target-lexicon@0.12.3
+	tendril@0.4.3
+	thin-slice@0.1.1
+	unicode-ident@1.0.11
+	unicode-ident@1.0.12
+	unicode-xid@0.2.2
+	unindent@0.1.11
+	unindent@0.2.3
+	utf-8@0.7.6
+	wasi@0.9.0+wasi-snapshot-preview1
+	winapi-i686-pc-windows-gnu@0.4.0
+	winapi-x86_64-pc-windows-gnu@0.4.0
+	winapi@0.3.9
+	windows-targets@0.48.1
+	windows-targets@0.48.5
+	windows_aarch64_gnullvm@0.48.0
+	windows_aarch64_gnullvm@0.48.5
+	windows_aarch64_msvc@0.48.0
+	windows_aarch64_msvc@0.48.5
+	windows_i686_gnu@0.48.0
+	windows_i686_gnu@0.48.5
+	windows_i686_msvc@0.48.0
+	windows_i686_msvc@0.48.5
+	windows_x86_64_gnu@0.48.0
+	windows_x86_64_gnu@0.48.5
+	windows_x86_64_gnullvm@0.48.0
+	windows_x86_64_gnullvm@0.48.5
+	windows_x86_64_msvc@0.48.0
+	windows_x86_64_msvc@0.48.5
+"
+
+inherit distutils-r1 cargo
+
+DESCRIPTION="A plugin for setuptools to build Rust Python extensions"
+HOMEPAGE="
+	https://github.com/PyO3/setuptools-rust/
+	https://pypi.org/project/setuptools-rust/
+"
+SRC_URI="
+	https://github.com/PyO3/setuptools-rust/archive/v${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+	test? ( ${CARGO_CRATE_URIS} )
+"
+
+# crates are used at test time only, update via pycargoebuild -L -i ...
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	virtual/rust
+	<dev-python/semantic-version-3[${PYTHON_USEDEP}]
+	>=dev-python/semantic-version-2.8.2[${PYTHON_USEDEP}]
+	>=dev-python/setuptools-62.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	>=dev-python/setuptools-62.4[${PYTHON_USEDEP}]
+	test? (
+		${RDEPEND}
+		dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+		$(python_gen_cond_dep '
+			dev-python/cffi[${PYTHON_USEDEP}]
+		' 'python*')
+		dev-python/lxml[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+	)
+"
+
+src_unpack() {
+	cargo_src_unpack
+}
+
+python_test() {
+	local examples=(
+		html-py-ever
+		namespace_package
+		rust_with_cffi
+	)
+	for example_dir in ${examples[@]}; do
+		pushd examples/${example_dir} >/dev/null || die
+		einfo "Running ${example_dir} test"
+		esetup.py build --build-lib=build/lib
+
+		case ${example_dir} in
+			html-py-ever)
+				pushd tests >/dev/null || die
+				local -x PYTHONPATH=../build/lib
+				${EPYTHON} run_all.py || die "Tests failed with ${EPYTHON}"
+				popd >/dev/null || die
+				;;
+			*)
+				pushd build/lib >/dev/null || die
+				epytest ../../tests
+				popd >/dev/null || die
+				;;
+		esac
+
+		rm -rf build || die
+		popd >/dev/null || die
+	done
+}


             reply	other threads:[~2023-10-30 18:10 UTC|newest]

Thread overview: 116+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-30 18:09 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-19  9:52 [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools-rust/ Michał Górny
2024-10-19  9:41 Arthur Zamarin
2024-10-19  9:41 Arthur Zamarin
2024-10-19  9:08 Sam James
2024-10-19  8:58 Arthur Zamarin
2024-10-19  8:52 Arthur Zamarin
2024-10-19  8:22 Arthur Zamarin
2024-10-19  8:02 Arthur Zamarin
2024-10-02 11:22 Michał Górny
2024-08-30  7:59 Sam James
2024-08-24 13:24 Arthur Zamarin
2024-08-24 11:08 Arthur Zamarin
2024-08-24 11:08 Arthur Zamarin
2024-08-24 10:01 Sam James
2024-08-24  9:05 Arthur Zamarin
2024-08-24  8:18 Sam James
2024-08-05 11:48 Michał Górny
2024-08-04  2:48 Michał Górny
2024-06-23 16:20 Michał Górny
2024-06-23 16:10 Arthur Zamarin
2024-06-15 10:54 Arthur Zamarin
2024-06-15 10:54 Arthur Zamarin
2024-06-15 10:54 Arthur Zamarin
2024-06-15 10:54 Arthur Zamarin
2024-06-15 10:54 Arthur Zamarin
2024-06-15 10:54 Arthur Zamarin
2024-05-11  6:54 Michał Górny
2024-03-14 11:25 Michał Górny
2024-03-14  5:59 Sam James
2024-03-13 23:57 Sam James
2024-03-13 15:14 Arthur Zamarin
2024-03-13 15:06 Arthur Zamarin
2024-03-13 15:03 Arthur Zamarin
2024-03-13 14:08 Arthur Zamarin
2024-03-13 13:58 Arthur Zamarin
2024-03-02 20:44 Michał Górny
2024-03-02 20:41 Sam James
2024-02-24 16:40 Michał Górny
2024-02-24  9:14 Michał Górny
2023-11-30 20:29 Michał Górny
2023-11-29 15:33 Arthur Zamarin
2023-11-29 14:05 Arthur Zamarin
2023-11-29 11:32 Michał Górny
2023-11-29 11:15 Michał Górny
2023-11-29 11:04 Michał Górny
2023-11-29 11:04 Michał Górny
2023-10-26 12:19 Michał Górny
2023-09-25 18:27 Arthur Zamarin
2023-09-25 18:27 Arthur Zamarin
2023-09-25 17:33 Arthur Zamarin
2023-09-25 17:12 Arthur Zamarin
2023-09-25 17:12 Arthur Zamarin
2023-09-25 17:00 Arthur Zamarin
2023-08-22 20:01 Michał Górny
2023-07-20 10:16 WANG Xuerui
2023-06-18 19:01 Michał Górny
2023-05-30  3:03 Michał Górny
2023-05-29 20:18 Sam James
2023-05-28 23:41 Sam James
2023-05-28 23:33 Sam James
2023-05-28 23:33 Sam James
2023-05-28 19:55 Arthur Zamarin
2023-05-28 19:55 Arthur Zamarin
2023-05-28 19:55 Arthur Zamarin
2023-05-27 13:21 Michał Górny
2023-04-28  5:56 Michał Górny
2022-10-28  8:17 Michał Górny
2022-10-28  3:37 Jakov Smolić
2022-10-25  9:49 Sam James
2022-10-22 16:39 Arthur Zamarin
2022-10-22 16:33 Arthur Zamarin
2022-10-22 16:31 Arthur Zamarin
2022-10-22 15:57 Arthur Zamarin
2022-10-22 15:49 Arthur Zamarin
2022-09-22 12:15 Michał Górny
2022-09-15 18:27 Michał Górny
2022-09-15 17:14 Arthur Zamarin
2022-09-14 19:21 Arthur Zamarin
2022-09-13 12:26 Sam James
2022-09-11  7:55 Agostino Sarubbo
2022-09-10 22:57 Jakov Smolić
2022-09-10 22:57 Jakov Smolić
2022-09-10 22:37 Jakov Smolić
2022-08-14 16:53 Arthur Zamarin
2022-08-12 14:09 Michał Górny
2022-08-12 10:49 Agostino Sarubbo
2022-08-11  9:59 Michał Górny
2022-08-10 10:56 Arthur Zamarin
2022-08-10  8:04 Arthur Zamarin
2022-08-09  7:43 Agostino Sarubbo
2022-08-09  4:00 Arthur Zamarin
2022-08-09  4:00 Arthur Zamarin
2022-08-09  4:00 Arthur Zamarin
2022-07-29  8:02 Agostino Sarubbo
2022-07-09  8:41 Michał Górny
2022-06-26  7:15 Sam James
2022-06-09  2:43 Sam James
2022-05-31 14:56 Jakov Smolić
2022-05-31 11:05 Jakov Smolić
2022-05-31  9:21 Jakov Smolić
2022-05-31  9:21 Jakov Smolić
2022-05-31  8:54 Agostino Sarubbo
2022-05-31  8:51 Agostino Sarubbo
2022-05-28 10:45 Michał Górny
2022-05-11 21:05 Michał Górny
2022-04-27  8:12 Michał Górny
2022-04-24 18:06 Arthur Zamarin
2022-04-24 18:06 Arthur Zamarin
2022-04-24 18:06 Arthur Zamarin
2022-04-22 17:31 Arthur Zamarin
2022-04-22 15:28 Michał Górny
2022-04-22  8:46 Jakov Smolić
2022-04-22  7:09 Michał Górny
2022-04-22  7:09 Michał Górny
2022-04-21 17:06 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1698689070.2e9979f1c95d8b603eacfab039769954d0415528.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox