Date: Wednesday, February 1, 2023 @ 16:07:14
Author: felixonmars
Revision: 1391758
archrelease: copy trunk to community-x86_64
Added:
python-pycapnp/repos/community-x86_64/PKGBUILD
(from rev 1391757, python-pycapnp/trunk/PKGBUILD)
Deleted:
python-pycapnp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-01 16:07:00 UTC (rev 1391757)
+++ PKGBUILD 2023-02-01 16:07:14 UTC (rev 1391758)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-_name=pycapnp
-pkgname=python-pycapnp
-pkgver=1.2.2
-pkgrel=3
-pkgdesc="A cython wrapping of the C++ Cap'n Proto library"
-url="https://github.com/capnproto/pycapnp"
-license=(BSD)
-arch=(x86_64)
-depends=(gcc-libs glibc python)
-makedepends=(capnproto cython python-build python-installer python-pkgconfig
python-setuptools python-wheel)
-checkdepends=(python-pytest)
-optdepends=('python-jinja: for capnpc-cython')
-source=(https://github.com/capnproto/$_name/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('3c0bdd90ec2f7a2e631f05d1e7ddfa06524d003d0f3f7e68eda8affc423ecf5921ab5608e27fbee94603556e9a3a4bd3e52f5452d0501b29def8ac9f789630f0')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd pycapnp-$pkgver
- PYTHONPATH="build/lib.linux-$CARCH-cpython-310" pytest
-}
-
-package() {
- depends+=(
- capnproto libkj.so libkj-async.so libcapnpc.so libcapnp.so libcapnp-rpc.so
- )
- 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-x86_64/PKGBUILD (from rev 1391757,
python-pycapnp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-01 16:07:14 UTC (rev 1391758)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pycapnp
+pkgver=1.3.0
+_commit=33c453eff788295804c094601b657ec4fdadc6f8
+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=(gcc-libs glibc python)
+makedepends=(git capnproto cython python-build python-installer
python-pkgconfig python-setuptools python-wheel)
+checkdepends=(python-pytest)
+optdepends=('python-jinja: for capnpc-cython')
+source=(git+https://github.com/capnproto/pycapnp.git#commit=$_commit)
+sha512sums=('SKIP')
+
+build() {
+ cd pycapnp
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd pycapnp
+ PYTHONPATH="build/lib.linux-$CARCH-cpython-310" pytest
+}
+
+package() {
+ depends+=(
+ capnproto libkj.so libkj-async.so libcapnpc.so libcapnp.so libcapnp-rpc.so
+ )
+ cd pycapnp
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+}