[arch-commits] Commit in python-fissix/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 15:47:56 UTC 2020
Date: Monday, November 9, 2020 @ 15:47:56
Author: foutrelis
Revision: 747147
archrelease: copy trunk to community-staging-any
Added:
python-fissix/repos/community-staging-any/
python-fissix/repos/community-staging-any/PKGBUILD
(from rev 747146, python-fissix/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-fissix/repos/community-staging-any/PKGBUILD (from rev 747146, python-fissix/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:47:56 UTC (rev 747147)
@@ -0,0 +1,34 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=fissix
+pkgname=python-fissix
+pkgver=19.2b1
+pkgrel=4
+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