[arch-commits] Commit in python-pyxattr/trunk (PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Mon May 4 01:14:03 UTC 2020


    Date: Monday, May 4, 2020 @ 01:14:02
  Author: lfleischer
Revision: 624649

upgpkg: python-pyxattr 0.7.1-1: upstream update

Modified:
  python-pyxattr/trunk/PKGBUILD

----------+
 PKGBUILD |   44 ++++++++++++++------------------------------
 1 file changed, 14 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-04 01:13:35 UTC (rev 624648)
+++ PKGBUILD	2020-05-04 01:14:02 UTC (rev 624649)
@@ -1,48 +1,32 @@
 # Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
 # Contributor: Jon Bergli Heier <snakebite at jvnv.net>
 
-pkgname=('python2-pyxattr' 'python-pyxattr')
-pkgbase=python-pyxattr
+pkgname=python-pyxattr
 _pkgname=pyxattr
-pkgver=0.6.1
-pkgrel=2
-pkgdesc='A python extension module that allows you to manipulate the extended attributes.'
+pkgver=0.7.1
+pkgrel=1
+pkgdesc='A Python extension module that allows you to manipulate the extended attributes.'
 arch=('x86_64')
 url='https://pyxattr.k1024.org/'
 license=('GPL')
-makedepends=('python2' 'python' 'python2-setuptools' 'python-setuptools')
+makedepends=('python' 'python-pytest' 'python-setuptools')
+depends=('python')
 source=("https://pyxattr.k1024.org/downloads/pyxattr-$pkgver.tar.gz"{,.asc})
-md5sums=('523e9d90f9801141c785d93e6197cc33'
+md5sums=('f3341e703489452afaf68b336be5d32c'
          'SKIP')
 validpgpkeys=('CB94E3AA3B1755D61EBB19A5F66E3E419F84F4DE') # Iustin Pop <iustin at k1024.org>
 
 build() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-
-  python setup.py build
-  python2 setup.py build
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	python setup.py build
 }
 
 check() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-
-  python setup.py test
-  python2 setup.py test
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	python setup.py test
 }
 
-package_python2-pyxattr() {
-  depends=('python2')
-  provides=('pyxattr')
-  conflicts=('pyxattr')
-  replaces=('pyxattr')
-
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  python2 setup.py install --root="${pkgdir}"
+package() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	python setup.py install --root="${pkgdir}"
 }
-
-package_python-pyxattr() {
-  depends=('python')
-
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  python setup.py install --root="${pkgdir}"
-}


More information about the arch-commits mailing list