[arch-commits] Commit in python-dateutil/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 19:09:52 UTC 2021
Date: Tuesday, November 30, 2021 @ 19:09:52
Author: foutrelis
Revision: 1057897
archrelease: copy trunk to community-staging-any
Added:
python-dateutil/repos/community-staging-any/
python-dateutil/repos/community-staging-any/PKGBUILD
(from rev 1057896, python-dateutil/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-dateutil/repos/community-staging-any/PKGBUILD (from rev 1057896, python-dateutil/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 19:09:52 UTC (rev 1057897)
@@ -0,0 +1,33 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: lilydjwg <lilydjwg at gmail.com>
+
+pkgname=python-dateutil
+pkgver=2.8.2
+pkgrel=3
+pkgdesc="Provides powerful extensions to the standard datetime module"
+arch=('any')
+license=('BSD' 'Apache')
+url="https://github.com/dateutil/dateutil"
+depends=('python-six')
+makedepends=('python-setuptools-scm' 'python-six' 'git')
+checkdepends=('python-pytest' 'python-freezegun' 'python-hypothesis')
+source=(git+https://github.com/dateutil/dateutil.git#commit=6b035517571e63b6a63a493740c5506ec1e5da44?signed)
+sha256sums=('SKIP')
+validpgpkeys=('5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23') # Mario Corchero <mariocj89 at gmail.com>
+
+build() {
+ cd "$srcdir"/dateutil
+ python setup.py build
+}
+
+check() {
+ cd dateutil
+ pytest -W ignore::pytest.PytestUnknownMarkWarning # https://github.com/pytest-dev/pytest/issues/5678
+}
+
+package() {
+ cd "$srcdir"/dateutil
+ python 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