python-markdown2: drop package
This commit is contained in:
parent
1ca478ac75
commit
96238114af
3 changed files with 25 additions and 41 deletions
|
@ -1,40 +0,0 @@
|
|||
# Template file for 'python-markdown2'
|
||||
pkgname=python-markdown2
|
||||
version=2.3.8
|
||||
revision=2
|
||||
archs=noarch
|
||||
build_style=python-module
|
||||
pycompile_module="markdown2"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
short_desc="Fast and complete implementation of Markdown in Python2"
|
||||
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/trentm/python-markdown2"
|
||||
distfiles="https://github.com/trentm/python-markdown2/archive/${version}.tar.gz"
|
||||
checksum=@f2439906b925fb3991b8e4c01909bd2e6cb3aa75ce64a053b5495f9c72726f77
|
||||
|
||||
do_check() {
|
||||
PY2PATH="${PWD}/build-2.7/lib"
|
||||
PY3PATH="${PWD}/build-${py3_ver}/lib"
|
||||
|
||||
cd test
|
||||
# On python2 markdown2/phpmarkdown/email_auto_links is broken;
|
||||
# cf. https://github.com/trentm/python-markdown2/issues/5
|
||||
#PYTHONPATH="${PY2PATH}" python2 test.py -- -knownfailure
|
||||
PYTHONPATH="${PY3PATH}" python3 test.py -- -knownfailure
|
||||
}
|
||||
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
|
||||
python3-markdown2_package() {
|
||||
archs=noarch
|
||||
pycompile_module="markdown2"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/python3*"
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-markdown2
|
25
srcpkgs/python3-markdown2/template
Normal file
25
srcpkgs/python3-markdown2/template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'python3-markdown2'
|
||||
pkgname=python3-markdown2
|
||||
version=2.3.8
|
||||
revision=3
|
||||
wrksrc=python-markdown2-$version
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
short_desc="Fast and complete implementation of Markdown in Python3"
|
||||
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/trentm/python-markdown2"
|
||||
distfiles="https://github.com/trentm/python-markdown2/archive/${version}.tar.gz"
|
||||
checksum=@f2439906b925fb3991b8e4c01909bd2e6cb3aa75ce64a053b5495f9c72726f77
|
||||
|
||||
do_check() {
|
||||
PY3PATH="${PWD}/build/lib"
|
||||
|
||||
cd test
|
||||
PYTHONPATH="${PY3PATH}" python3 test.py -- -knownfailure
|
||||
}
|
||||
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
}
|
Loading…
Reference in a new issue