[arch-commits] Commit in python-mss/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Sun Aug 9 11:06:42 UTC 2020


    Date: Sunday, August 9, 2020 @ 11:06:41
  Author: archange
Revision: 673129

archrelease: copy trunk to community-any

Added:
  python-mss/repos/community-any/PKGBUILD
    (from rev 673128, python-mss/trunk/PKGBUILD)
Deleted:
  python-mss/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-09 11:06:15 UTC (rev 673128)
+++ PKGBUILD	2020-08-09 11:06:41 UTC (rev 673129)
@@ -1,33 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=mss
-pkgname=python-${_pkg}
-pkgver=5.0.0
-pkgrel=1
-pkgdesc="Ultra fast cross-platform multiple screenshots module"
-arch=(any)
-url="https://github.com/BoboTiG/python-mss"
-license=(MIT)
-depends=(python)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest xorg-server-xvfb libxrandr lsof)
-#PyPi tarball lacks a test data
-#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('d14906907423d1977f24998b8f62e368e8c1133b0164755dd569f48e7c95b9c4')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  PYTHONPATH="${PWD}/build/lib/" xvfb-run -a -s "+extension RANDR +render -screen 0 1024x768x24" pytest
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-mss/repos/community-any/PKGBUILD (from rev 673128, python-mss/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-09 11:06:41 UTC (rev 673129)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=mss
+pkgname=python-${_pkg}
+pkgver=6.0.0
+pkgrel=1
+pkgdesc="Ultra fast cross-platform multiple screenshots module"
+arch=(any)
+url="https://github.com/BoboTiG/python-mss"
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest xorg-server-xvfb libxrandr lsof python-flaky python-wheel)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+#source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('b42bcc170a138c1afbe05f532374d97486f52c2c69328ae1591dafa64ab92c36')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  PYTHONPATH="${PWD}/build/lib/" xvfb-run -a -s "+extension RANDR +render -screen 0 1024x768x24" pytest
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}


More information about the arch-commits mailing list