[arch-commits] Commit in python-pywlroots/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Jun 27 09:53:57 UTC 2022
Date: Monday, June 27, 2022 @ 09:53:57
Author: dvzrv
Revision: 1239630
archrelease: copy trunk to community-x86_64
Added:
python-pywlroots/repos/community-x86_64/PKGBUILD
(from rev 1239629, 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-06-27 09:53:46 UTC (rev 1239629)
+++ PKGBUILD 2022-06-27 09:53:57 UTC (rev 1239630)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pywlroots
-pkgname=python-pywlroots
-pkgver=0.15.17
-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=('01f51f8680a088ebff865ef5cf415b3a699657ec31837fd3e7940278738579d2b4e7490c48a723e4aef53ee9e6ccdd9c7dfecec2c43734000b9675263226850f')
-b2sums=('7f3c2bb4ecc90f0a4148b2c2649527f1f660ee03f538ae78158c19511b90c0255444bfc9f398a1d2ccee664e27639cebd04d751720bc00ed438e89260a9424b2')
-
-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 1239629, python-pywlroots/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-27 09:53:57 UTC (rev 1239630)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pywlroots
+pkgname=python-pywlroots
+pkgver=0.15.18
+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=('128ae616b629a03630f08ac95b4b32107c2bb92790cb5d2bf59f82207c1ac27a76603797bde78346da22beb0f033c1c7195e167f35e4eec460eea861231594f7')
+b2sums=('2a10ca46e7edc6d10991b570c08aa9f79d308bd59d4b91104915f31039951524bb84bef54cec123f4f8f0a04d6fb8afada2ab8037ec50a0bbdd7b802c0c69af9')
+
+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"
+}
More information about the arch-commits
mailing list