[arch-commits] Commit in python-setuptools-rust/repos/community-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Sep 1 21:33:28 UTC 2022


    Date: Thursday, September 1, 2022 @ 21:33:28
  Author: felixonmars
Revision: 1290488

archrelease: copy trunk to community-any

Added:
  python-setuptools-rust/repos/community-any/PKGBUILD
    (from rev 1290487, python-setuptools-rust/trunk/PKGBUILD)
Deleted:
  python-setuptools-rust/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   85 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-01 21:33:14 UTC (rev 1290487)
+++ PKGBUILD	2022-09-01 21:33:28 UTC (rev 1290488)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: codedust
-# Contributor: Dario Ostuni <dario.ostuni at gmail.com>
-# Contributor: Clayton Craft <clayton at craftyguy dot net>
-
-pkgname=python-setuptools-rust
-pkgver=1.1.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-tomli' '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=('c2bbb8adc02f2b1c9617e6095840a315794466d8312af082f1352129ef07061b96c7512e4e33e4591f75a4d6a7a339085c2760d6f47e0999d79a1e3a626320dc')
-
-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
-}
-
-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 1290487, python-setuptools-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-01 21:33:28 UTC (rev 1290488)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: codedust
+# Contributor: Dario Ostuni <dario.ostuni at gmail.com>
+# Contributor: Clayton Craft <clayton at craftyguy dot net>
+
+pkgname=python-setuptools-rust
+pkgver=1.1.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-tomli' '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=('a580c7283074f516251386c0dc3f9e7cc770bb8760bc9ce7b263e1db93bae99c1f1de0d31ceb2038b9163002c9a2ccd5f443f5112187021c9bd692e53ea0b99f')
+
+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/
+}



More information about the arch-commits mailing list