python-lockfile: update homepage URL; install MIT license
Add missing short_desc to the python3.4 subpkg.
This commit is contained in:
parent
ab3630b26a
commit
4e0cc5290f
1 changed files with 11 additions and 5 deletions
|
@ -1,28 +1,34 @@
|
||||||
# Template file for 'python-lockfile'
|
# Template file for 'python-lockfile'
|
||||||
pkgname=python-lockfile
|
pkgname=python-lockfile
|
||||||
version=0.9.1
|
version=0.9.1
|
||||||
|
revision=3
|
||||||
|
noarch=yes
|
||||||
wrksrc="lockfile-${version}"
|
wrksrc="lockfile-${version}"
|
||||||
revision=2
|
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
hostmakedepends="python-devel python3.4-devel"
|
hostmakedepends="python-devel python3.4-devel"
|
||||||
makedepends="${hostmakedepends}"
|
makedepends="${hostmakedepends}"
|
||||||
depends="python"
|
depends="python"
|
||||||
noarch="yes"
|
|
||||||
pycompile_module="lockfile"
|
pycompile_module="lockfile"
|
||||||
short_desc="Platform-independent file locking module for python"
|
short_desc="Platform-independent file locking module (Python2)"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://code.google.com/p/pylockfile/"
|
homepage="https://github.com/smontanaro/pylockfile/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="https://pypi.python.org/packages/source/l/lockfile/lockfile-${version}.tar.gz"
|
distfiles="https://pypi.python.org/packages/source/l/lockfile/lockfile-${version}.tar.gz"
|
||||||
checksum=23da589c91f59cb7c644d5ce5df539d448341bd479917d6dde973f82e2719147
|
checksum=23da589c91f59cb7c644d5ce5df539d448341bd479917d6dde973f82e2719147
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||||
|
}
|
||||||
|
|
||||||
python3.4-lockfile_package() {
|
python3.4-lockfile_package() {
|
||||||
noarch="yes"
|
noarch=yes
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="lockfile"
|
pycompile_module="lockfile"
|
||||||
depends="python3.4"
|
depends="python3.4"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
|
vinstall ${wrksrc}/LICENSE 644 usr/share/licenses/${pkgname}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue