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

Antonio Rojas arojas at gemini.archlinux.org
Fri Nov 5 23:18:04 UTC 2021


    Date: Friday, November 5, 2021 @ 23:18:04
  Author: arojas
Revision: 1037357

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-05 23:17:54 UTC (rev 1037356)
+++ PKGBUILD	2021-11-05 23:18:04 UTC (rev 1037357)
@@ -1,34 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=fissix
-pkgname=python-fissix
-pkgver=19.2b1
-pkgrel=5
-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
-}

Copied: python-fissix/repos/community-any/PKGBUILD (from rev 1037356, python-fissix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-05 23:18:04 UTC (rev 1037357)
@@ -0,0 +1,35 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=fissix
+pkgname=python-fissix
+pkgver=21.6.6
+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')
+checkdepends=('python-pytest' 'python-tests')
+source=(https://pypi.python.org/packages/source/f/$_pkgname/$_pkgname-$pkgver.tar.gz)
+sha256sums=('756c47696a8d769ebf770ec7f018fd7b5948cd2cd6a204b5392bc9214ff795bc')
+b2sums=('b913c29f49e1d49062d441f5a6064ccb7ff167dd92c874458b023e3a37079364b2e7b310ed502d3d88e7512d0752f84bc597a27dd6c48ca2975a28aae2019d56')
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python -m pytest --verbose fissix/tests
+}
+
+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