mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			872 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			872 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
 | |
| pkgname=py3-dateparser
 | |
| _pyname=${pkgname#py3-}
 | |
| pkgver=1.1.7
 | |
| pkgrel=0
 | |
| pkgdesc="Python parser for human readable dates"
 | |
| url="https://github.com/scrapinghub/dateparser"
 | |
| arch="noarch"
 | |
| license="BSD-3-Clause"
 | |
| depends="python3 py3-dateutil py3-regex py3-tz py3-tzlocal"
 | |
| makedepends="py3-setuptools"
 | |
| source="$pkgname-$pkgver.tar.gz::https://github.com/scrapinghub/dateparser/archive/refs/tags/v$pkgver.tar.gz"
 | |
| builddir="$srcdir/$_pyname-$pkgver"
 | |
| # Requires py3-langdetect and py3-fasttext, which are not in the repository
 | |
| options="!check"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 6d6bd23b17f60df469911203fd1ded7a13258b5b7b7f7c2ed1cfd20b3af43be6c65fd5311be57a20986de68d30666465a2e65287f33aa5314d57d458c0b922ad  py3-dateparser-1.1.7.tar.gz
 | |
| "
 |