Date: Tuesday, September 27, 2022 @ 17:31:48
Author: felixonmars
Revision: 1312631
archrelease: copy trunk to community-any
Added:
python-setuptools-rust/repos/community-any/PKGBUILD
(from rev 1312630, python-setuptools-rust/trunk/PKGBUILD)
Deleted:
python-setuptools-rust/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-27 17:31:04 UTC (rev 1312630)
+++ PKGBUILD 2022-09-27 17:31:48 UTC (rev 1312631)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: codedust
-# Contributor: Dario Ostuni <[email protected]>
-# Contributor: Clayton Craft <clayton at craftyguy dot net>
-
-pkgname=python-setuptools-rust
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="Compile and distribute Python extensions written in rust as easily as
if they were written in C."
-arch=('any')
-license=('MIT')
-url="https://github.com/PyO3/setuptools-rust"
-depends=('rust' 'python-setuptools' 'python-semantic-version'
'python-typing-extensions')
-makedepends=('python-setuptools-scm' 'python-wheel')
-checkdepends=('python-pytest' 'python-pytest-benchmark'
'python-beautifulsoup4' 'python-lxml' 'python-cffi')
-source=("https://github.com/PyO3/setuptools-rust/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('de7a91f20894ec63910c9c4ff02b4a2ecd0a2492e0f94760e44f19f9bae110a59af30b278aebfc4f2fff8a791db5cfa03e1b32a764f6196bb4afbfcd7b1178ef')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd setuptools-rust-$pkgver
- python setup.py build
-}
-
-check() {
- cd setuptools-rust-$pkgver
- python setup.py egg_info
- for _dir in examples/*; do
- pushd $_dir
- PYTHONPATH="$PWD/../.." python setup.py build
- [[ -d tests || -d test ]] &&
PYTHONPATH="$PWD/build/lib:build/lib.linux-$CARCH-cpython-310" pytest
- popd
- done
- pytest --doctest-modules setuptools_rust
-}
-
-package() {
- cd setuptools-rust-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-setuptools-rust/repos/community-any/PKGBUILD (from rev 1312630,
python-setuptools-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-27 17:31:48 UTC (rev 1312631)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: codedust
+# Contributor: Dario Ostuni <[email protected]>
+# Contributor: Clayton Craft <clayton at craftyguy dot net>
+
+pkgname=python-setuptools-rust
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Compile and distribute Python extensions written in rust as easily as
if they were written in C."
+arch=('any')
+license=('MIT')
+url="https://github.com/PyO3/setuptools-rust"
+depends=('rust' 'python-setuptools' 'python-semantic-version'
'python-typing-extensions')
+makedepends=('python-setuptools-scm' 'python-wheel')
+checkdepends=('python-pytest' 'python-pytest-benchmark'
'python-beautifulsoup4' 'python-lxml' 'python-cffi')
+source=("https://github.com/PyO3/setuptools-rust/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('e9259befb38ee22d355c9dcebc4cb5dd0d23b7a00ac9be16ce61f8c11bd0cee3a2afd2099f8882e9224475d084a61c1721cfee48200d7b061bffa631380d73b4')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd setuptools-rust-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd setuptools-rust-$pkgver
+ python setup.py egg_info
+ for _dir in examples/*; do
+ pushd $_dir
+ PYTHONPATH="$PWD/../.." python setup.py build
+ [[ -d tests || -d test ]] &&
PYTHONPATH="$PWD/build/lib:build/lib.linux-$CARCH-cpython-310" pytest
+ popd
+ done
+ pytest --doctest-modules setuptools_rust
+}
+
+package() {
+ cd setuptools-rust-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}