[arch-commits] Commit in python-setuptools-rust/repos/community-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Sep 2 11:12:56 UTC 2022
Date: Friday, September 2, 2022 @ 11:12:55
Author: felixonmars
Revision: 1290894
archrelease: copy trunk to community-any
Added:
python-setuptools-rust/repos/community-any/PKGBUILD
(from rev 1290893, 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-02 11:12:40 UTC (rev 1290893)
+++ PKGBUILD 2022-09-02 11:12:55 UTC (rev 1290894)
@@ -1,43 +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.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/
-}
Copied: python-setuptools-rust/repos/community-any/PKGBUILD (from rev 1290893, python-setuptools-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-02 11:12:55 UTC (rev 1290894)
@@ -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.2
+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=('203462bc02d2891906779276da1859a31f26c8cb16e8e4b85bf082dca48999eef848cc41447952ce90eafd35022cbd5cddb9ea7b5087f94af977bd7e4ea38a27')
+
+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