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

Felix Yan felixonmars at gemini.archlinux.org
Fri Aug 26 10:17:06 UTC 2022


    Date: Friday, August 26, 2022 @ 10:17:06
  Author: felixonmars
Revision: 1281626

archrelease: copy trunk to community-any

Added:
  python-setuptools-rust/repos/community-any/PKGBUILD
    (from rev 1281625, 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	2022-08-26 10:16:50 UTC (rev 1281625)
+++ PKGBUILD	2022-08-26 10:17:06 UTC (rev 1281626)
@@ -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.1
-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-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=('6cff0ad83026cbc548cc0fc20b7456e1555893b0fb670756409bc351ebaae7e2f4bad17c8379cad50120665669f409c14b35f80491c7d6f6ad9768b63cb7cf11')
-
-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.10" 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 1281625, python-setuptools-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-26 10:17:06 UTC (rev 1281626)
@@ -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=1.0.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=('997a92bb628c8b9dcf19cd933052422cd663d5963e4698e6649cf66451a181c09e97860be728d411e5bd8a7829ddaa8061a905dc4d0942e5658a8463929ec41d')
+
+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/
+}



More information about the arch-commits mailing list