[arch-commits] Commit in python-pywlroots/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Thu Sep 8 15:04:03 UTC 2022
Date: Thursday, September 8, 2022 @ 15:04:03
Author: dvzrv
Revision: 1296861
archrelease: copy trunk to community-x86_64
Added:
python-pywlroots/repos/community-x86_64/PKGBUILD
(from rev 1296860, 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-09-08 15:03:30 UTC (rev 1296860)
+++ PKGBUILD 2022-09-08 15:04:03 UTC (rev 1296861)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pywlroots
-pkgname=python-pywlroots
-pkgver=0.15.20
-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=('cda5ea97dc6c8652f52c4e7973877956db65bfe922fd95ec9d2709f2b31c24ed64840aa99f462a566772b8f826b256f941757afddcdc85e373e87cde4e1fdc83')
-b2sums=('4fc92b4ca5fca8d7737cb6e930cf11c1a0c8116b8544c05e458f3d322e45cd159fffc295d6e200361d32792e6ea77bd80906d3e18351701d611fa25827c09b61')
-
-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 1296860, python-pywlroots/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-08 15:04:03 UTC (rev 1296861)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pywlroots
+pkgname=python-pywlroots
+pkgver=0.15.21
+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=('5ef914f4a3beee19b41612d9358034d6a49b4d3c373cc8a4f236ebe6f54b210baa068669c3eb376ebd4b390838f96035bbb2b87c07150c472365466862d792cf')
+b2sums=('f56cce672221d4f8df1df3eb8eca41d7c78a9cbdf4840f31f161f1c92ff04ec3bd369847ffaa6d4c2d7128afd7848773218ffadfb92ef456852e43de3a83e06c')
+
+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