[arch-commits] Commit in python-dateutil/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Thu May 10 18:09:33 UTC 2018
Date: Thursday, May 10, 2018 @ 18:09:32
Author: eschwartz
Revision: 320458
archrelease: copy trunk to community-any
Added:
python-dateutil/repos/community-any/PKGBUILD
(from rev 320457, python-dateutil/trunk/PKGBUILD)
Deleted:
python-dateutil/repos/community-any/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-10 18:09:15 UTC (rev 320457)
+++ PKGBUILD 2018-05-10 18:09:32 UTC (rev 320458)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: lilydjwg <lilydjwg at gmail.com>
-
-pkgbase=python-dateutil
-pkgname=('python-dateutil' 'python2-dateutil')
-pkgver=2.7.2
-pkgrel=1
-pkgdesc="Provides powerful extensions to the standard datetime module"
-arch=('any')
-license=('BSD' 'Apache')
-url="https://github.com/dateutil/dateutil"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
-checkdepends=('python-pytest' 'python2-pytest' 'python-freezegun' 'python2-freezegun')
-source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
-sha256sums=('9d8074be4c993fbe4947878ce593052f71dac82932a677d49194d8ce9778002e'
- 'SKIP')
-validpgpkeys=('6B49ACBADCF6BD1CA20667ABCD54FCE3D964BEFB') # Paul Ganssle <paul at ganssle.io>
-
-prepare() {
- cd "$srcdir"
-
- cp -r python-dateutil-$pkgver python2-dateutil-$pkgver
-}
-
-build() {
- cd "$srcdir"/python-dateutil-$pkgver
- python setup.py build
-
- cd "$srcdir"/python2-dateutil-$pkgver
- python setup.py build
-}
-
-check() {
- cd "$srcdir"/python-dateutil-$pkgver
- pytest
-
- cd "$srcdir"/python2-dateutil-$pkgver
- pytest2
-}
-
-package_python-dateutil() {
-depends=('python-six')
- cd "$srcdir"/python-dateutil-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-dateutil() {
-depends=('python2-six')
- cd "$srcdir"/python2-dateutil-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-dateutil/repos/community-any/PKGBUILD (from rev 320457, python-dateutil/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-10 18:09:32 UTC (rev 320458)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: lilydjwg <lilydjwg at gmail.com>
+
+pkgbase=python-dateutil
+pkgname=('python-dateutil' 'python2-dateutil')
+pkgver=2.7.3
+pkgrel=1
+pkgdesc="Provides powerful extensions to the standard datetime module"
+arch=('any')
+license=('BSD' 'Apache')
+url="https://github.com/dateutil/dateutil"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
+checkdepends=('python-pytest' 'python-freezegun' 'python-hypothesis'
+ 'python2-pytest' 'python2-freezegun' 'python2-hypothesis')
+source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+sha256sums=('e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8'
+ 'SKIP')
+validpgpkeys=('6B49ACBADCF6BD1CA20667ABCD54FCE3D964BEFB') # Paul Ganssle <paul at ganssle.io>
+
+prepare() {
+ cd "$srcdir"
+
+ cp -r python-dateutil-$pkgver python2-dateutil-$pkgver
+}
+
+build() {
+ cd "$srcdir"/python-dateutil-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/python2-dateutil-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-dateutil-$pkgver
+ pytest
+
+ cd "$srcdir"/python2-dateutil-$pkgver
+ pytest2
+}
+
+package_python-dateutil() {
+depends=('python-six')
+ cd "$srcdir"/python-dateutil-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-dateutil() {
+depends=('python2-six')
+ cd "$srcdir"/python2-dateutil-$pkgver
+ 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