[arch-commits] Commit in python-pycapnp/repos/community-testing-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Aug 31 20:35:58 UTC 2022
Date: Wednesday, August 31, 2022 @ 20:35:57
Author: felixonmars
Revision: 1289424
archrelease: copy trunk to community-testing-x86_64
Added:
python-pycapnp/repos/community-testing-x86_64/PKGBUILD
(from rev 1289423, python-pycapnp/trunk/PKGBUILD)
Deleted:
python-pycapnp/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 32 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-31 20:35:44 UTC (rev 1289423)
+++ PKGBUILD 2022-08-31 20:35:57 UTC (rev 1289424)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_name=pycapnp
-pkgname=python-pycapnp
-pkgver=1.1.1
-pkgrel=4
-pkgdesc="A cython wrapping of the C++ Cap'n Proto library"
-url="https://github.com/capnproto/pycapnp"
-license=(BSD)
-arch=(x86_64)
-depends=(capnproto python)
-makedepends=(cython python-build python-installer python-pkgconfig python-setuptools python-wheel)
-checkdepends=(python-pytest)
-source=(https://github.com/capnproto/$_name/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('649271e5fa64fe4b3c23897f96896b2790b13bca634b07f4d5e155e263ef919615d39daceb8b167918b7e4375b2b2d89df95fb9e78166768591e053b93e54940')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- python -m installer --destdir=test_dir dist/*.whl
- export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
- pytest -vv
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- install -vDm 644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-pycapnp/repos/community-testing-x86_64/PKGBUILD (from rev 1289423, python-pycapnp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-31 20:35:57 UTC (rev 1289424)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_name=pycapnp
+pkgname=python-pycapnp
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="A cython wrapping of the C++ Cap'n Proto library"
+url="https://github.com/capnproto/pycapnp"
+license=(BSD)
+arch=(x86_64)
+depends=(capnproto python)
+makedepends=(cython python-build python-installer python-pkgconfig python-setuptools python-wheel)
+checkdepends=(python-pytest)
+source=(https://github.com/capnproto/$_name/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('2221daa602b222563a483d73a4c0cb616d7b07aeae48d9a9b50a26cec002c80a00b5080bbe32c7094fa76d05aacc3d1d84322fdb40cbf301a208744ab246c06f')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd pycapnp-$pkgver
+ PYTHONPATH="build/lib.linux-$CARCH-cpython-310" pytest
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ install -vDm 644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list