python-irc: cleanup and LICENSE now from tarball
This commit is contained in:
parent
b89dcc2f9c
commit
0de947f6d1
1 changed files with 10 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-irc'
|
# Template file for 'python-irc'
|
||||||
pkgname=python-irc
|
pkgname=python-irc
|
||||||
version=16.2
|
version=16.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=irc-${version}
|
wrksrc=irc-${version}
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="irc"
|
pycompile_module="irc"
|
||||||
|
@ -11,17 +11,21 @@ short_desc="Full-featured Python IRC library for Python2"
|
||||||
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/jaraco/irc"
|
homepage="https://github.com/jaraco/irc"
|
||||||
distfiles="${PYPI_SITE}/i/irc/irc-${version}.tar.gz
|
distfiles="${PYPI_SITE}/i/irc/irc-${version}.tar.gz"
|
||||||
https://raw.githubusercontent.com/jaraco/skeleton/skeleton/LICENSE"
|
checksum=cce90b6ed5e9bdbe9dfe1fbe6ff40752924a234656cad73744f4780086018e8b
|
||||||
checksum="cce90b6ed5e9bdbe9dfe1fbe6ff40752924a234656cad73744f4780086018e8b
|
noarch=yes
|
||||||
a55e2ffe9b44998e621d51d8c094bed09acc4b5236ee73d7df395a33ba3c18fd"
|
|
||||||
skip_extraction="LICENSE"
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
python3-irc_package() {
|
python3-irc_package() {
|
||||||
|
noarch=yes
|
||||||
pycompile_module="irc"
|
pycompile_module="irc"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
depends="python3-six"
|
depends="python3-six"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue