Date: Sunday, April 9, 2023 @ 20:28:18
Author: felixonmars
Revision: 1443525
archrelease: copy trunk to community-staging-any
Added:
python-setuptools-rust/repos/community-staging-any/PKGBUILD
(from rev 1443524, python-setuptools-rust/trunk/PKGBUILD)
Deleted:
python-setuptools-rust/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-09 20:28:10 UTC (rev 1443524)
+++ PKGBUILD 2023-04-09 20:28:18 UTC (rev 1443525)
@@ -1,40 +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.5.2
-pkgrel=2
-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')
-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=('e80d1296fd09c24b644d821e981261153ff19ae62d978fc8ee81c78e440d215f9d1e91e33d758effb94fcb64985937445940f2e2f032ad1b8c2aa39be79cf19d')
-
-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-staging-any/PKGBUILD (from rev
1443524, python-setuptools-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-09 20:28:18 UTC (rev 1443525)
@@ -0,0 +1,40 @@
+# 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.5.2
+pkgrel=3
+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')
+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=('e80d1296fd09c24b644d821e981261153ff19ae62d978fc8ee81c78e440d215f9d1e91e33d758effb94fcb64985937445940f2e2f032ad1b8c2aa39be79cf19d')
+
+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-311" 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/
+}