[arch-commits] Commit in python-fields/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Nov 10 20:56:09 UTC 2021
Date: Wednesday, November 10, 2021 @ 20:56:09
Author: arojas
Revision: 1040346
archrelease: copy trunk to community-any
Added:
python-fields/repos/community-any/PKGBUILD
(from rev 1040345, python-fields/trunk/PKGBUILD)
Deleted:
python-fields/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-10 20:55:59 UTC (rev 1040345)
+++ PKGBUILD 2021-11-10 20:56:09 UTC (rev 1040346)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fields
-pkgname=python-fields
-pkgver=5.0.0
-pkgrel=10
-arch=('any')
-pkgdesc='A totally different take on container boilerplate'
-url='https://github.com/ionelmc/python-fields'
-license=('BSD')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-attrs' 'python-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]/;s/--benchmark-disable//' python-fields-$pkgver/setup.cfg
-}
-
-build() {
- cd "$srcdir"/python-fields-$pkgver
- python setup.py build
-}
-
-check() {
- cd "$srcdir"/python-fields-$pkgver
- python -m pytest --deselect tests/test_perf.py
-}
-
-package_python-fields() {
- cd python-fields-$pkgver
- python setup.py install --root "$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-fields/repos/community-any/PKGBUILD (from rev 1040345, python-fields/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-10 20:56:09 UTC (rev 1040346)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-fields
+pkgname=python-fields
+pkgver=5.0.0
+pkgrel=11
+arch=('any')
+pkgdesc='A totally different take on container boilerplate'
+url='https://github.com/ionelmc/python-fields'
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-attrs' 'python-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]/;s/--benchmark-disable//' python-fields-$pkgver/setup.cfg
+}
+
+build() {
+ cd "$srcdir"/python-fields-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-fields-$pkgver
+ python -m pytest --deselect tests/test_perf.py
+}
+
+package_python-fields() {
+ cd python-fields-$pkgver
+ python 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