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

Felix Yan felixonmars at archlinux.org
Thu Nov 5 21:27:58 UTC 2020


    Date: Thursday, November 5, 2020 @ 21:27:58
  Author: felixonmars
Revision: 399556

archrelease: copy trunk to extra-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-05 21:27:46 UTC (rev 399555)
+++ PKGBUILD	2020-11-05 21:27:58 UTC (rev 399556)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-attrs
-pkgname=('python-attrs' 'python2-attrs')
-pkgver=20.2.0
-pkgrel=1
-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=('829030d8c1fe7bffbbb8d70fc56228f4c378d85a24c89d802e51f63a78abbfa24f46f5aa8b56cb7ba26ef0bf1fb272163873c45c994145de0be45b14c6fb29cd')
-
-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/extra-any/PKGBUILD (from rev 399555, python-attrs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-05 21:27:58 UTC (rev 399556)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-attrs
+pkgname=('python-attrs' 'python2-attrs')
+pkgver=20.3.0
+pkgrel=1
+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=('640532c6b763fd96572e5d85e93c111bebc4c5e0ff9419fe92fb51280f03acb5f9f43339f57d30659e777d5578460675c60ec0a362f9ad433893e3624ce6a931')
+
+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