Date: Thursday, February 3, 2022 @ 08:49:29 Author: dvzrv Revision: 1124075
archrelease: copy trunk to community-x86_64 Added: python-pywlroots/repos/community-x86_64/PKGBUILD (from rev 1124074, python-pywlroots/trunk/PKGBUILD) Deleted: python-pywlroots/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-03 08:49:21 UTC (rev 1124074) +++ PKGBUILD 2022-02-03 08:49:29 UTC (rev 1124075) @@ -1,41 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> - -_name=pywlroots -pkgname=python-pywlroots -pkgver=0.15.3 -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-setuptools) -checkdepends=(python-pytest) -provides=(pywlroots) -conflicts=(pywlroots) -replaces=(pywlroots) -source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -sha512sums=('518199f3857b5b4091c39e3a5a4a806e11c35305ca687a967b19d276990eb6472e5963e4553379d97ff1d5dc78c8552935bb87bed911378f3e5be8aa1d0b850d') -b2sums=('f4dbb7ca5efcb9daaecb252dfb617bb27683d3c0c6a1f792dd93fcff46d546d728cfff8e01911793b07123e4051cba6b151c80ea948857736ada5fe5215ece4b') - -build() { - cd "${_name}-$pkgver" - python wlroots/ffi_build.py - python setup.py build -} - -check() { - local _py_ver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') - - cd "${_name}-$pkgver" - export PYTHONPATH="build/lib.linux-${CARCH}-${_py_ver}:${PYTHONPATH}" - pytest -v -} - -package() { - cd "${_name}-$pkgver" - python setup.py install --optimize=1 --root="${pkgdir}" - 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 1124074, python-pywlroots/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-03 08:49:29 UTC (rev 1124075) @@ -0,0 +1,41 @@ +# Maintainer: David Runge <dv...@archlinux.org> + +_name=pywlroots +pkgname=python-pywlroots +pkgver=0.15.6 +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-setuptools) +checkdepends=(python-pytest) +provides=(pywlroots) +conflicts=(pywlroots) +replaces=(pywlroots) +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha512sums=('6e79ddac398bdcd9a8b41c3315f6cc95a2e41235039faad45434b9c623de5339d62de5941326a170fec3d218070be842ddcb94e62c772620241b5158781b7c45') +b2sums=('a95aa0a0633caf6ce0598a24c7ac38a45fb28cc47dbc44a8a7b1d4d7a8896a10d59c2cdde37bb3d5222c22c40b743ccb8b53cde2b54774357f068610d3fa3c3f') + +build() { + cd "${_name}-$pkgver" + python wlroots/ffi_build.py + python setup.py build +} + +check() { + local _py_ver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') + + cd "${_name}-$pkgver" + export PYTHONPATH="build/lib.linux-${CARCH}-${_py_ver}:${PYTHONPATH}" + pytest -v +} + +package() { + cd "${_name}-$pkgver" + python setup.py install --optimize=1 --root="${pkgdir}" + install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" + install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +}