[arch-commits] Commit in python-pywlroots/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Fri Oct 8 17:41:01 UTC 2021


    Date: Friday, October 8, 2021 @ 17:41:01
  Author: dvzrv
Revision: 1028044

archrelease: copy trunk to community-x86_64

Added:
  python-pywlroots/repos/community-x86_64/PKGBUILD
    (from rev 1028043, python-pywlroots/trunk/PKGBUILD)
Deleted:
  python-pywlroots/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-08 17:40:53 UTC (rev 1028043)
+++ PKGBUILD	2021-10-08 17:41:01 UTC (rev 1028044)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pywlroots
-pkgname=python-pywlroots
-pkgver=0.14.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=('6f3456a23cdd898b510f8628f40ed0e654e4c08878f9a07cbb2925a17ec63c997802c2e51d02405af279b030cde1b21f956ec7b57591a248b652b665d7486548')
-b2sums=('5e3bd66a5f3710e134f7e247c9bbffa86c6c8ee49d302d790f333feedd2eb75968d26618e9df128aa254820597496561112d8fa302a2deb187ae8075d3e11696')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$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 "$pkgname-$pkgver"
-  export PYTHONPATH="build/lib.linux-${CARCH}-${_py_ver}:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$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 1028043, python-pywlroots/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-08 17:41:01 UTC (rev 1028044)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pywlroots
+pkgname=python-pywlroots
+pkgver=0.14.7
+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=('9db1c2f97d7120d62a8817000dd00bd95e422ac35663a61912579540bf459756a562099bbc8cead888e2a8546eb34d0fe60008c8eec4f6f04f04e4c1ae7ad6e6')
+b2sums=('4c546b1d06506434834ce735f0e879955d46e0fd88931cdcf3d8e15a2a42c261cc01aa966458784bec45fa27988bf0d79019c4f68d27176097eee8dbbbb754a4')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$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 "$pkgname-$pkgver"
+  export PYTHONPATH="build/lib.linux-${CARCH}-${_py_ver}:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$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}"
+}



More information about the arch-commits mailing list