[arch-commits] Commit in python-attrs/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 30 11:36:16 UTC 2021
Date: Thursday, December 30, 2021 @ 11:36:16
Author: felixonmars
Revision: 433258
archrelease: copy trunk to extra-any
Added:
python-attrs/repos/extra-any/PKGBUILD
(from rev 433257, python-attrs/trunk/PKGBUILD)
Deleted:
python-attrs/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-30 11:36:08 UTC (rev 433257)
+++ PKGBUILD 2021-12-30 11:36:16 UTC (rev 433258)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-attrs
-pkgver=21.2.0
-pkgrel=4
-pkgdesc="Attributes without boilerplate."
-arch=('any')
-license=('MIT')
-url="https://attrs.readthedocs.org/"
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-zope-interface' 'python-hypothesis')
-source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz")
-sha512sums=('35863f599076357e40f72a62968f4a2f9bc2af9f59f484fef051be4f9730ce9e28e11568915d690ade7980df8998af22e2ff8b9568a205d7745e246ba5f3a7e1')
-
-build() {
- cd "$srcdir"/attrs-$pkgver
- python setup.py build
-}
-
-check() {
- cd attrs-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd attrs-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-attrs/repos/extra-any/PKGBUILD (from rev 433257, python-attrs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-30 11:36:16 UTC (rev 433258)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-attrs
+pkgver=21.3.0
+pkgrel=1
+pkgdesc="Attributes without boilerplate."
+arch=('any')
+license=('MIT')
+url="https://attrs.readthedocs.org/"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-cloudpickle' 'python-hypothesis' 'python-zope-interface')
+source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz")
+sha512sums=('23b2ba52af809581e9907ad7c6d18ed050d415645a249ae912af3f1398276ea5bf67f11991d7958f3eeafe759d8d62a65009555ae8f75580cfa464c5b4a37742')
+
+build() {
+ cd "$srcdir"/attrs-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd attrs-$pkgver
+ PYTHONPATH=build/lib pytest
+}
+
+package() {
+ cd attrs-$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