python-serpent: fix LICENSE file
This commit is contained in:
parent
8486d77f13
commit
7e30e221da
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-serpent'
|
# Template file for 'python-serpent'
|
||||||
pkgname=python-serpent
|
pkgname=python-serpent
|
||||||
version=1.27
|
version=1.27
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -16,7 +16,6 @@ distfiles="${PYPI_SITE}/s/serpent/serpent-${version}.tar.gz"
|
||||||
checksum=6f8dc4317fb5b5a9629b5e518846bc9fee374b8171533726dc68df52b36ee912
|
checksum=6f8dc4317fb5b5a9629b5e518846bc9fee374b8171533726dc68df52b36ee912
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
head -n 4 setup.py | tail -n 3 > LICENSE
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,5 +26,6 @@ python3-serpent_package() {
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue