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



                                                
                    

                                                                                            

                                    


                              

                                                               
                                                                                                                                                                       
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-parsedatetime
_pkgname=parsedatetime
pkgver=2.6
pkgrel=0
pkgdesc="Parse human-readable date/time strings"
url="https://github.com/bear/parsedatetime"
arch="noarch"
options="!check" # flake8, mccabe
license="Apache-2.0"
depends="python3 py3-future"
makedepends="python3-dev"
source="$_pkgname-$pkgver.tar.gz::https://github.com/bear/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

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

sha512sums="ed7649feb8773fdb33d609ef0abe4d20f555744bd70e9766aba6b9a79d8415c7e2efea1d7ef5c6b5906f3bc90bff124ef92992ce17d83fe70575da2db918e543  parsedatetime-2.6.tar.gz"