[arch-commits] Commit in python-attrs/repos/staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 21:40:10 UTC 2021


    Date: Wednesday, December 1, 2021 @ 21:40:09
  Author: foutrelis
Revision: 430187

archrelease: copy trunk to staging-any

Added:
  python-attrs/repos/staging-any/PKGBUILD
    (from rev 430186, python-attrs/trunk/PKGBUILD)
Deleted:
  python-attrs/repos/staging-any/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 21:40:05 UTC (rev 430186)
+++ PKGBUILD	2021-12-01 21:40:09 UTC (rev 430187)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-attrs
-pkgname=('python-attrs' 'python2-attrs')
-pkgver=21.2.0
-pkgrel=2
-pkgdesc="Attributes without boilerplate."
-arch=('any')
-license=('MIT')
-url="https://attrs.readthedocs.org/"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python-zope-interface' 'python-hypothesis')
-source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz")
-sha512sums=('35863f599076357e40f72a62968f4a2f9bc2af9f59f484fef051be4f9730ce9e28e11568915d690ade7980df8998af22e2ff8b9568a205d7745e246ba5f3a7e1')
-
-prepare() {
-  cp -a attrs-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/attrs-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/attrs-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd attrs-$pkgver
-  python setup.py pytest
-}
-
-package_python-attrs() {
-  depends=('python')
-
-  cd attrs-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-attrs() {
-  depends=('python2')
-
-  cd attrs-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-attrs/repos/staging-any/PKGBUILD (from rev 430186, python-attrs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 21:40:09 UTC (rev 430187)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-attrs
+pkgname=('python-attrs' 'python2-attrs')
+pkgver=21.2.0
+pkgrel=3
+pkgdesc="Attributes without boilerplate."
+arch=('any')
+license=('MIT')
+url="https://attrs.readthedocs.org/"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python-zope-interface' 'python-hypothesis')
+source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz")
+sha512sums=('35863f599076357e40f72a62968f4a2f9bc2af9f59f484fef051be4f9730ce9e28e11568915d690ade7980df8998af22e2ff8b9568a205d7745e246ba5f3a7e1')
+
+prepare() {
+  cp -a attrs-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/attrs-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/attrs-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd attrs-$pkgver
+  python setup.py pytest
+}
+
+package_python-attrs() {
+  depends=('python')
+
+  cd attrs-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-attrs() {
+  depends=('python2')
+
+  cd attrs-$pkgver-py2
+  python2 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