mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			894 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			894 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Rasmus Thomsen <oss@cogitri.dev>
 | |
| # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 | |
| pkgname=py3-pypandoc
 | |
| pkgver=1.13
 | |
| pkgrel=0
 | |
| pkgdesc="Thin wrapper for pandoc"
 | |
| url="https://github.com/NicklasTegner/pypandoc"
 | |
| arch="aarch64 x86_64" # pandoc
 | |
| license="MIT"
 | |
| depends="python3 pandoc"
 | |
| makedepends="py3-gpep517 py3-poetry-core"
 | |
| options="!check" # missing pandoc-citeproc
 | |
| subpackages="$pkgname-pyc"
 | |
| source="https://files.pythonhosted.org/packages/source/p/pypandoc/pypandoc-$pkgver.tar.gz"
 | |
| builddir="$srcdir/pypandoc-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	gpep517 build-wheel \
 | |
| 		--wheel-dir .dist \
 | |
| 		--output-fd 3 3>&1 >&2
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 setup.py test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 -m installer -d "$pkgdir" \
 | |
| 		.dist/pypandoc-*.whl
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| b4b39fc94dea3ad45f8f33cff9e291ea2a9aa52aece5e092e5fdded4b95a9bf8c7047744d7fd6ec03dc53044a7261033deeec648a7d5530026580fc18ababdeb  pypandoc-1.13.tar.gz
 | |
| "
 |