[arch-commits] Commit in python-dateutil/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Wed Nov 11 15:08:53 UTC 2020


    Date: Wednesday, November 11, 2020 @ 15:08:53
  Author: felixonmars
Revision: 750911

archrelease: copy trunk to community-staging-any

Added:
  python-dateutil/repos/community-staging-any/PKGBUILD
    (from rev 750910, python-dateutil/trunk/PKGBUILD)
Deleted:
  python-dateutil/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 15:08:39 UTC (rev 750910)
+++ PKGBUILD	2020-11-11 15:08:53 UTC (rev 750911)
@@ -1,51 +0,0 @@
-# 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.8.1
-pkgrel=4
-pkgdesc="Provides powerful extensions to the standard datetime module"
-arch=('any')
-license=('BSD' 'Apache')
-url="https://github.com/dateutil/dateutil"
-makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-six' 'python2-six')
-checkdepends=('python-pytest' 'python-freezegun' 'python-hypothesis')
-source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
-sha256sums=('73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c'
-            '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 python-dateutil-$pkgver
-  pytest -W ignore::pytest.PytestUnknownMarkWarning # https://github.com/pytest-dev/pytest/issues/5678
-}
-
-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-staging-any/PKGBUILD (from rev 750910, python-dateutil/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 15:08:53 UTC (rev 750911)
@@ -0,0 +1,51 @@
+# 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.8.1
+pkgrel=5
+pkgdesc="Provides powerful extensions to the standard datetime module"
+arch=('any')
+license=('BSD' 'Apache')
+url="https://github.com/dateutil/dateutil"
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-six' 'python2-six')
+checkdepends=('python-pytest' 'python-freezegun' 'python-hypothesis')
+source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+sha256sums=('73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c'
+            '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 python-dateutil-$pkgver
+  pytest -W ignore::pytest.PytestUnknownMarkWarning # https://github.com/pytest-dev/pytest/issues/5678
+}
+
+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