mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Duncan Bellamy <dunk@denkimushi.com>
 | |
| # Maintainer: Duncan Bellamy <dunk@denkimushi.com>
 | |
| pkgname=py3-jaraco.text
 | |
| pkgver=3.11.1
 | |
| pkgrel=0
 | |
| pkgdesc="Module for text manipulation"
 | |
| url="https://github.com/jaraco/jaraco.text"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="py3-jaraco.context py3-jaraco.functools"
 | |
| makedepends="
 | |
| 	py3-gpep517
 | |
| 	py3-setuptools
 | |
| 	py3-setuptools_scm
 | |
| 	py3-wheel
 | |
| 	"
 | |
| checkdepends="py3-autocommand py3-inflect py3-pytest"
 | |
| source="https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-$pkgver.tar.gz"
 | |
| builddir="$srcdir/jaraco.text-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	gpep517 build-wheel \
 | |
| 		--wheel-dir dist \
 | |
| 		--output-fd 3 3>&1 >&2
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 -m venv --clear --without-pip --system-site-packages testenv
 | |
| 	testenv/bin/python3 -m installer dist/*.whl
 | |
| 	testenv/bin/python3 -m pytest --ignore testenv
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 -m installer -d "$pkgdir" dist/*.whl
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| b4066589e9d4c9a2a82ae2b0825d34b22b93ee179d29c3666e9b978390121520afcb8fc5ffa6457022d2e8477f4cf2b76485d9896438ee46275326577609f201  jaraco.text-3.11.1.tar.gz
 | |
| "
 |