Date: Sunday, October 30, 2022 @ 08:56:21
Author: dvzrv
Revision: 1339401
archrelease: copy trunk to community-x86_64
Added:
python-pywlroots/repos/community-x86_64/PKGBUILD
(from rev 1339400, python-pywlroots/trunk/PKGBUILD)
Deleted:
python-pywlroots/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-30 08:55:57 UTC (rev 1339400)
+++ PKGBUILD 2022-10-30 08:56:21 UTC (rev 1339401)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=pywlroots
-pkgname=python-pywlroots
-pkgver=0.15.22
-pkgrel=1
-pkgdesc="Python binding to the wlroots library using cffi"
-arch=(x86_64)
-url="https://github.com/flacjacket/pywlroots"
-license=(custom:UIUC)
-depends=(glibc python-cffi python-pywayland python-xkbcommon wlroots
-libwlroots.so)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-pytest)
-provides=(pywlroots)
-conflicts=(pywlroots)
-replaces=(pywlroots)
-options=(debug)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('8fa9d966103063fc9bbd09cf5fc044448ae5344c3d1eadf3eaf42cf4be25ca1948e2cf1c9368ad61cfd783809884e7b43e30accc5d4e4590b37e6bc2edceee34')
-b2sums=('f7aeec30a79df67174cb2281fea5d365e53ef57daf16b682e504a6625484671f12fa6303ef3fa9ed1d26222fd1484bc6e688d1b5427c5c206069bbb0b657a591')
-
-build() {
- cd $_name-$pkgver
- python wlroots/ffi_build.py
- 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 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
- install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-}
Copied: python-pywlroots/repos/community-x86_64/PKGBUILD (from rev 1339400,
python-pywlroots/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-30 08:56:21 UTC (rev 1339401)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=pywlroots
+pkgname=python-pywlroots
+pkgver=0.15.24
+pkgrel=1
+pkgdesc="Python binding to the wlroots library using cffi"
+arch=(x86_64)
+url="https://github.com/flacjacket/pywlroots"
+license=(custom:UIUC)
+depends=(glibc python-cffi python-pywayland python-xkbcommon wlroots
+libwlroots.so)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest)
+provides=(pywlroots)
+conflicts=(pywlroots)
+replaces=(pywlroots)
+options=(debug)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('65105d163ade1036d8db634bd30e0b42ad95149298b05accab22865b17a6055b20028271f9e07269aea97eb0028a8b66773005511d5c64602d532413203e3ebc')
+b2sums=('a89099cd1aab761b06ba53a19b49b5ad66b8fcd19e7c9dea64ebffb3fc5e163076e6ea9b91b12c2f66cebfec9f0673268dd8bdebd29270a6786df3fe7b8037d0')
+
+build() {
+ cd $_name-$pkgver
+ python wlroots/ffi_build.py
+ 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 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}