summaryrefslogblamecommitdiff
path: root/user/py3-rfc3339/APKBUILD
blob: 5af94e017f4384cd9f082ed4d814fc59d772273f (plain) (tree)
1
2
3
4
5
6
7
8

                                                             

                                         

                   

                      


                                                
                                        


                             
                        

                         
                                                                                              


                                    




                              



                                                                                                                                                                   
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-rfc3339
_pkgname=pyRFC3339
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=1.1
pkgrel=0
pkgdesc="Generate and parse RFC 3339 timestamps"
url="https://pypi.org/project/pyRFC3339"
arch="noarch"
options="!check" # needs nose
license="MIT"
depends="python3 py3-tz"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	mkdir -p "$pkgdir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="958b7761fab590aa42bb57a955c5d834441f717796a452b60df21663099dcf2fc046afe60f8157fd0f1edfd95c5e9c9c5349ab10ca4078d210fc63d848496a2f  pyRFC3339-1.1.tar.gz"