mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
		
			
				
	
	
		
			34 lines
		
	
	
		
			862 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			862 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
 | |
| # Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
 | |
| pkgname=py3-elsapy
 | |
| _pkgorig=elsapy
 | |
| pkgver=0.5.1
 | |
| pkgrel=1
 | |
| pkgdesc="A Python module for use with Elsevier's APIs"
 | |
| url="https://github.com/ElsevierDev/elsapy"
 | |
| arch="noarch"
 | |
| license="BSD-3-Clause"
 | |
| depends="
 | |
| 	python3
 | |
| 	py3-requests
 | |
| 	"
 | |
| makedepends="py3-setuptools"
 | |
| source="https://files.pythonhosted.org/packages/source/e/elsapy/elsapy-$pkgver.tar.gz"
 | |
| builddir="$srcdir/$_pkgorig-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	PYTHONPATH=build/lib python3 -c "from elsapy.elsclient import ElsClient"
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| bac5613d9178e88baf435635b5548090e0e153f711e846ae0ca6d1d9a8de3c18e04428c71332f2c44b68e39af5b6fd6d726769ee42c52abb6b4b31ff4e1ea607  elsapy-0.5.1.tar.gz
 | |
| "
 |