mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +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
		
			
				
	
	
		
			38 lines
		
	
	
		
			961 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			961 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Bart Ribbers <bribbers@disroot.org>
 | |
| # Maintainer: Bart Ribbers <bribbers@disroot.org>
 | |
| pkgname=py3-html2markdown
 | |
| pkgver=0.1.7
 | |
| pkgrel=2
 | |
| pkgdesc="Conservatively convert html to markdown"
 | |
| url="https://github.com/dlon/html2markdown"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="
 | |
| 	py3-beautifulsoup4
 | |
| 	python3
 | |
| 	"
 | |
| makedepends="py3-setuptools"
 | |
| checkdepends="
 | |
| 	py3-markdown
 | |
| 	py3-pytest
 | |
| 	"
 | |
| #source="https://pypi.python.org/packages/source/h/html2markdown/html2markdown-$pkgver.tar.gz"
 | |
| source="https://github.com/dlon/html2markdown/archive/v$pkgver/html2markdown-v$pkgver.tar.gz"
 | |
| builddir="$srcdir/html2markdown-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	pytest tests.py -k 'not test_inline_tag_content'
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| cd6a9fe266e9579e52dc85e8dfe09e817a36ed7b4c038f1a237d54f229aa3f70b961f923b2e1a90f649412a4a746df651853fc19178c82935fd3ccbc87297977  html2markdown-v0.1.7.tar.gz
 | |
| "
 |