diff options
author | zlg <zlg@zlg.space> | 2018-11-21 03:23:42 -0800 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-11-21 03:35:30 -0800 |
commit | 6f84d4079247210afcc8d3408cd32873f62ee139 (patch) | |
tree | 0c89293df693db9be2cc9efd5b4d2f4c786a7074 /user/py3-rfc3339 | |
parent | 1c75891efcd2269d5d5321b2dfb7203adf3c5991 (diff) | |
download | packages-6f84d4079247210afcc8d3408cd32873f62ee139.tar.gz packages-6f84d4079247210afcc8d3408cd32873f62ee139.tar.bz2 packages-6f84d4079247210afcc8d3408cd32873f62ee139.tar.xz packages-6f84d4079247210afcc8d3408cd32873f62ee139.zip |
user/py3-rfc3339: new package
Diffstat (limited to 'user/py3-rfc3339')
-rw-r--r-- | user/py3-rfc3339/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/py3-rfc3339/APKBUILD b/user/py3-rfc3339/APKBUILD new file mode 100644 index 000000000..03c002ca4 --- /dev/null +++ b/user/py3-rfc3339/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com> +# Maintainer: zlg <zlg+adelie@zlg.space> +pkgname=py3-rfc3339 +_pkgname=pyRFC3339 +pkgver=1.1 +pkgrel=0 +pkgdesc="Generate and parse RFC 3339 timestamps" +url="https://pypi.python.org/pypi/pyRFC3339" +arch="noarch" +options="!check" # needs nose +license="MIT" +depends="py3-tz" +makedepends="python3-dev" +subpackages="" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + mkdir -p "$pkgdir" + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="958b7761fab590aa42bb57a955c5d834441f717796a452b60df21663099dcf2fc046afe60f8157fd0f1edfd95c5e9c9c5349ab10ca4078d210fc63d848496a2f pyRFC3339-1.1.tar.gz" |