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

Antonio Rojas arojas at gemini.archlinux.org
Mon Nov 1 13:51:52 UTC 2021


    Date: Monday, November 1, 2021 @ 13:51:52
  Author: arojas
Revision: 1035199

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-01 13:51:33 UTC (rev 1035198)
+++ PKGBUILD	2021-11-01 13:51:52 UTC (rev 1035199)
@@ -1,33 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=bowler
-pkgname=python-bowler
-pkgver=0.8.0
-pkgrel=5
-pkgdesc="Safe code refactoring for modern Python."
-arch=('any')
-url="https://github.com/facebookincubator/${_pkgname}"
-license=('MIT')
-depends=('python-attrs' 'python-click' 'python-fissix' 'python-setuptools' 'python-sh')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('f3e0ba2e6d62d84e9dc34c07fd4ae6453c8de480e14cdd67a5665cfeedbf8cb2')
-b2sums=('766dcb5c1d13aae41f73bf4fed320cc5ccbfc117656deef513a98e39134e03def963e27564093aa98b6ec2e94b7adb67ca6fb06ddfd778a01f3f5f77959a68b1')
-
-build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py 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-bowler/repos/community-any/PKGBUILD (from rev 1035198, python-bowler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-01 13:51:52 UTC (rev 1035199)
@@ -0,0 +1,34 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=bowler
+pkgname=python-bowler
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Safe code refactoring for modern Python."
+arch=('any')
+url="https://github.com/facebookincubator/${_pkgname}"
+license=('MIT')
+depends=('python-attrs' 'python-click' 'python-fissix' 'python-setuptools' 'python-sh')
+checkdepends=('python-volatile' 'python-moreorless' 'python-coverage')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('cdb85ce2e7bd545802a15d755d1daf2b6a125429355c50d2019a9f35d63e45db')
+b2sums=('4e4a1b39e23cb76ad74edcd371b3bb1e4b52aae2342d026bdf07cb3f1598b62092e946ac5f8ddec7a882ff918ea44be12dc06646a775a557df260622910ca593')
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python -m coverage run -m bowler.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