diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-12-09 13:36:50 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-12-09 13:36:50 +0100 |
commit | 15d1ec2d5e5d36fc7e78d96f34d9c3583bf56dc2 (patch) | |
tree | df4c2d69dbcda1059524061bd66259f1cd4734ca /community/py-rfc3339 | |
parent | a66174411f51be92d56e3937f790e1fca75c91d5 (diff) | |
download | aports-15d1ec2d5e5d36fc7e78d96f34d9c3583bf56dc2.tar.bz2 aports-15d1ec2d5e5d36fc7e78d96f34d9c3583bf56dc2.tar.xz |
move letsencrypt deps to community
Diffstat (limited to 'community/py-rfc3339')
-rw-r--r-- | community/py-rfc3339/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/py-rfc3339/APKBUILD b/community/py-rfc3339/APKBUILD new file mode 100644 index 0000000000..6bd2e4a06a --- /dev/null +++ b/community/py-rfc3339/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-rfc3339 +pkgver=0.2 +pkgrel=0 +pkgdesc="Generate and parse RFC 3339 timestamps" +url="https://pypi.python.org/pypi/pyRFC3339" +arch="noarch" +license="MIT" +depends="py-tz" +depends_dev="" +makedepends="$depends_dev py-setuptools" +install="" +subpackages="" +source="https://pypi.python.org/packages/source/p/pyRFC3339/pyRFC3339-$pkgver.tar.gz" + +_builddir="$srcdir"/pyRFC3339-$pkgver + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="5e0f7e40e363812180fffaae52daf2e6 pyRFC3339-0.2.tar.gz" +sha256sums="a504ff6bcb363fa402d393f65fe5f542475e54fbfc55817b80892ba93b22e6de pyRFC3339-0.2.tar.gz" +sha512sums="54482528e429c0135823b333d18e6a9361ba99b18a62883e9b09f5533e75f08d12d9c1ee855296cecd98c11824f927984527bb0555a49e4284164b7fe4df8c4f pyRFC3339-0.2.tar.gz" |