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

Felix Yan felixonmars at archlinux.org
Thu Jun 10 23:02:49 UTC 2021


    Date: Thursday, June 10, 2021 @ 23:02:49
  Author: felixonmars
Revision: 961870

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-10 23:02:38 UTC (rev 961869)
+++ PKGBUILD	2021-06-10 23:02:49 UTC (rev 961870)
@@ -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=0.12.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-toml')
-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=('09f77fef0c46f444cbc690e02369e62920a887395334ed4b7501ab64976ade2cbf67c56e4bdcb2bdf2d212ea4dd3beb99b8d3340f93a706524b4f6385c46d4da')
-
-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-3.9" 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 961869, python-setuptools-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-10 23:02:49 UTC (rev 961870)
@@ -0,0 +1,42 @@
+# 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=0.12.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-toml')
+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=('25539edc55535391c6a787660ddca369b3615914c32db31718d9d17fbf36ba51e3f05c4764bd2261aa4d91b514dc741d500d093b9e96829082b68159958948a7')
+
+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-3.9" 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/
+}



More information about the arch-commits mailing list