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

Eli Schwartz eschwartz at archlinux.org
Mon Aug 5 03:48:45 UTC 2019


    Date: Monday, August 5, 2019 @ 03:48:44
  Author: eschwartz
Revision: 497419

archrelease: copy trunk to community-any

Added:
  python-fissix/repos/community-any/
  python-fissix/repos/community-any/PKGBUILD
    (from rev 497418, python-fissix/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-fissix/repos/community-any/PKGBUILD (from rev 497418, python-fissix/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-08-05 03:48:44 UTC (rev 497419)
@@ -0,0 +1,34 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=fissix
+pkgname=python-fissix
+pkgver=19.2b1
+pkgrel=1
+pkgdesc="Fork of lib2to3 with patch for Python issue33983 support"
+arch=('any')
+url="https://github.com/jreese/${_pkgname}"
+license=('PSF')
+depends=('python')
+makedepends=('python-setuptools')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('f97cfad393fa9779e36b1d93990da88c30d5bfd4b48a2e1bd344731b2226483b')
+b2sums=('6169b8bdea81dee1a4b27658e9c091e934f68ee51e6356b923d6d9d93e1cd249f4f31c90b8c5ebfa93a14894838c7b01af7801b717a7e4bfbb3d2d93499afe49')
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    make test
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}


More information about the arch-commits mailing list