[arch-commits] Commit in python-bowler/repos/community-staging-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Fri Dec 3 23:50:49 UTC 2021
Date: Friday, December 3, 2021 @ 23:50:49
Author: dvzrv
Revision: 1064946
archrelease: copy trunk to community-staging-any
Added:
python-bowler/repos/community-staging-any/PKGBUILD
(from rev 1064945, python-bowler/trunk/PKGBUILD)
Deleted:
python-bowler/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 66 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 32 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-03 23:50:42 UTC (rev 1064945)
+++ PKGBUILD 2021-12-03 23:50:49 UTC (rev 1064946)
@@ -1,34 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=bowler
-pkgname=python-bowler
-pkgver=0.9.0
-pkgrel=3
-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
-}
Copied: python-bowler/repos/community-staging-any/PKGBUILD (from rev 1064945, python-bowler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-03 23:50:49 UTC (rev 1064946)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+_name=bowler
+pkgname=python-bowler
+pkgver=0.9.0
+pkgrel=5
+pkgdesc="Safe code refactoring for modern Python."
+arch=(any)
+url="https://github.com/facebookincubator/${_name}"
+license=(MIT)
+depends=(python-attrs python-click python-fissix python-moreorless python-volatile)
+makedepends=(python-setuptools)
+source=("https://files.pythonhosted.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('cdb85ce2e7bd545802a15d755d1daf2b6a125429355c50d2019a9f35d63e45db')
+b2sums=('4e4a1b39e23cb76ad74edcd371b3bb1e4b52aae2342d026bdf07cb3f1598b62092e946ac5f8ddec7a882ff918ea44be12dc06646a775a557df260622910ca593')
+
+build(){
+ cd ${_name}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_name}-${pkgver}
+ python -m ${_name}.tests
+}
+
+package() {
+ cd ${_name}-${pkgver}
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list