mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: python-markdown2-2.3.7
This commit is contained in:
parent
ec37898eb9
commit
0304ba968a
3 changed files with 39 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
||||||
|
diff --git setup.cfg setup.cfg
|
||||||
|
index 4fe3b74..139986d 100644
|
||||||
|
--- setup.cfg
|
||||||
|
+++ setup.cfg
|
||||||
|
@@ -1,5 +1,4 @@
|
||||||
|
[aliases]
|
||||||
|
-build=sdist bdist_wheel
|
||||||
|
|
||||||
|
[wheel]
|
||||||
|
universal = 1
|
28
srcpkgs/python-markdown2/template
Normal file
28
srcpkgs/python-markdown2/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'python-markdown2'
|
||||||
|
pkgname=python-markdown2
|
||||||
|
version=2.3.7
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
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=@4576ebde09526f20c873a73775192851b7e9ed5f521fac34303ed0a8b8eda1ed
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-markdown2_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="markdown2"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/python3*"
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-markdown2
Symbolic link
1
srcpkgs/python3-markdown2
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-markdown2
|
Loading…
Add table
Reference in a new issue