[arch-commits] Commit in python-fields/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 17:10:35 UTC 2019
Date: Thursday, October 31, 2019 @ 17:10:33
Author: foutrelis
Revision: 521287
archrelease: copy trunk to community-staging-any
Added:
python-fields/repos/community-staging-any/PKGBUILD
(from rev 521286, python-fields/trunk/PKGBUILD)
Deleted:
python-fields/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:10:26 UTC (rev 521286)
+++ PKGBUILD 2019-10-31 17:10:33 UTC (rev 521287)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fields
-pkgname=('python-fields' 'python2-fields')
-pkgver=5.0.0
-pkgrel=5
-arch=('any')
-pkgdesc='A totally different take on container boilerplate'
-url='https://github.com/ionelmc/python-fields'
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark'
- 'python-pytest-runner' 'python2-pytest-runner' 'python-attrs'
- 'python2-attrs' 'python-characteristic' 'python2-characteristic')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-fields/archive/v$pkgver.tar.gz")
-sha512sums=('feaba23b98271936d6dae20b1001978483c0fe89ccf217637fac536ae5814c2c02bac1c3ddc2a86dc0d2419a3b3658871018c0ea4b7905e1c2649aa905b8e5a3')
-
-prepare() {
- sed -i 's/\[pytest\]/[tool:pytest]/' python-fields-$pkgver/setup.cfg
- cp -a python-fields-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/python-fields-$pkgver
- python setup.py build
-
- cd "$srcdir"/python-fields-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- # To workaround an error in doctest
- export LC_CTYPE=en_US.UTF-8
-
- cd "$srcdir"/python-fields-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/python-fields-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-fields() {
- depends=('python')
-
- cd python-fields-$pkgver
- python setup.py install --root "$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-fields() {
- depends=('python2')
-
- cd python-fields-$pkgver-py2
- python2 setup.py install --root "$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-fields/repos/community-staging-any/PKGBUILD (from rev 521286, python-fields/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:10:33 UTC (rev 521287)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-fields
+pkgname=('python-fields' 'python2-fields')
+pkgver=5.0.0
+pkgrel=6
+arch=('any')
+pkgdesc='A totally different take on container boilerplate'
+url='https://github.com/ionelmc/python-fields'
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark'
+ 'python-pytest-runner' 'python2-pytest-runner' 'python-attrs'
+ 'python2-attrs' 'python-characteristic' 'python2-characteristic')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-fields/archive/v$pkgver.tar.gz")
+sha512sums=('feaba23b98271936d6dae20b1001978483c0fe89ccf217637fac536ae5814c2c02bac1c3ddc2a86dc0d2419a3b3658871018c0ea4b7905e1c2649aa905b8e5a3')
+
+prepare() {
+ sed -i 's/\[pytest\]/[tool:pytest]/' python-fields-$pkgver/setup.cfg
+ cp -a python-fields-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/python-fields-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/python-fields-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ # To workaround an error in doctest
+ export LC_CTYPE=en_US.UTF-8
+
+ cd "$srcdir"/python-fields-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/python-fields-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-fields() {
+ depends=('python')
+
+ cd python-fields-$pkgver
+ python setup.py install --root "$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-fields() {
+ depends=('python2')
+
+ cd python-fields-$pkgver-py2
+ python2 setup.py install --root "$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list