aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-dateutil/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-dateutil/APKBUILD')
-rw-r--r--community/py3-dateutil/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/py3-dateutil/APKBUILD b/community/py3-dateutil/APKBUILD
new file mode 100644
index 0000000000..c6c2865bbb
--- /dev/null
+++ b/community/py3-dateutil/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor:
+# Maintainer:
+pkgname=py3-dateutil
+_pkgname=python-dateutil
+pkgver=2.8.1
+pkgrel=0
+pkgdesc="Python3 extensions for datetime module"
+url="https://dateutil.readthedocs.io"
+arch="noarch"
+license="Apache-2.0 AND BSD-3-Clause"
+depends="python3 py3-six"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+replaces="py-dateutil" # Backwards compatibility
+provides="py-dateutil=$pkgver-r$pkgrel" # Backwards compatibility
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="337000216e0f8ce32d6363768444144183ab9268f69082f20858f2b3322b1c449e53b2f2b5dcb3645be22294659ce7838f74ace2fd7a7c4f2adc6cf806a9fa2c python-dateutil-2.8.1.tar.gz"