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

Felix Yan felixonmars at archlinux.org
Sat Dec 30 08:58:19 UTC 2017


    Date: Saturday, December 30, 2017 @ 08:58:18
  Author: felixonmars
Revision: 313796

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-30 08:57:53 UTC (rev 313795)
+++ PKGBUILD	2017-12-30 08:58:18 UTC (rev 313796)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-attrs
-pkgname=('python-attrs' 'python2-attrs')
-pkgver=17.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' 'python2-pytest-runner' 'python-zope-interface'
-              'python2-zope-interface' 'python-hypothesis' 'python2-hypothesis')
-source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz")
-sha512sums=('69a104a0a00c13946ca61c5e21a6acd4e75a43c775d54f270c9da3fd9475df54997c32a25a5c47a24012daac2f525457b1727fb2bb7291afb90627bf87d818ee')
-
-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 "$srcdir"/attrs-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/attrs-$pkgver-py2
-  python2 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 313795, python-attrs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-30 08:58:18 UTC (rev 313796)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-attrs
+pkgname=('python-attrs' 'python2-attrs')
+pkgver=17.4.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' 'python2-pytest-runner' 'python-zope-interface'
+              'python2-zope-interface' 'python-hypothesis' 'python2-hypothesis')
+source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz")
+sha512sums=('b631cd5af1be7c78175230363a3cf9d37cb0237d87b24f994812b5734985d114708d5bf7ee5d92b8b13c6b8daa313efde4a9f60f0630df0b62bbcf4928a016ff')
+
+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 "$srcdir"/attrs-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/attrs-$pkgver-py2
+  python2 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