Date: Wednesday, September 28, 2022 @ 21:03:19
Author: felixonmars
Revision: 1315674
archrelease: copy trunk to community-any
Added:
python-setuptools-rust/repos/community-any/PKGBUILD
(from rev 1315673, 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-28 21:03:03 UTC (rev 1315673)
+++ PKGBUILD 2022-09-28 21:03:19 UTC (rev 1315674)
@@ -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.4.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=('dc8e23d54c14cc19cdd3d27763430f236ccc5ae42cde33635ec9325073f1cdca9d0ba457d262f73334205f2f8a08a95c9f94e42c64e3bb783c36418c9595c88d')
-
-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 1315673,
python-setuptools-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-28 21:03:19 UTC (rev 1315674)
@@ -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.4.1
+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=('6ca9b4fc01c448ab5a264a8d63f71aa57a805aae95d52b702c5c1af45de0db0c7d64bfede08eecfd18c958437043582fccba2e0d003b9ce2a5623a4d7bc3a1bd')
+
+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/
+}