[arch-commits] Commit in python-fissix/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Jun 26 21:31:45 UTC 2022
Date: Sunday, June 26, 2022 @ 21:31:45
Author: arojas
Revision: 1239583
archrelease: copy trunk to community-any
Added:
python-fissix/repos/community-any/PKGBUILD
(from rev 1239582, python-fissix/trunk/PKGBUILD)
Deleted:
python-fissix/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-26 21:31:34 UTC (rev 1239582)
+++ PKGBUILD 2022-06-26 21:31:45 UTC (rev 1239583)
@@ -1,35 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=fissix
-pkgname=python-fissix
-pkgver=21.6.6
-pkgrel=3
-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
-}
Copied: python-fissix/repos/community-any/PKGBUILD (from rev 1239582, python-fissix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-26 21:31:45 UTC (rev 1239583)
@@ -0,0 +1,35 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=fissix
+pkgname=python-fissix
+pkgver=21.11.13
+pkgrel=1
+pkgdesc="Fork of lib2to3 with patch for Python issue33983 support"
+arch=('any')
+url="https://github.com/jreese/${_pkgname}"
+license=('PSF')
+depends=('python-appdirs')
+makedepends=('python-build' 'python-installer' 'python-flit-core')
+checkdepends=('python-pytest' 'python-tests')
+source=(https://pypi.python.org/packages/source/f/$_pkgname/$_pkgname-$pkgver.tar.gz)
+sha256sums=('496a51b86afb4c64cf15cfed38a0f3a371f300b298c962c881e33620f076a514')
+b2sums=('cf63756b79b3f4f2442952e1077f4538f43a5cb6f151f700371af9bb8b7be45c16acce9834819bcc0861dd070b161423a5539d6cc59b65eee25f57634bc57b88')
+
+build(){
+ cd ${_pkgname}-${pkgver}
+
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}
+
+ python -m pytest --verbose fissix/tests
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list