python-keyring: install bin script
This commit is contained in:
parent
b03c87ef0f
commit
a53c736943
1 changed files with 4 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python-keyring'
|
||||
pkgname=python-keyring
|
||||
version=8.2
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="keyring-${version}"
|
||||
build_style="python-module"
|
||||
|
@ -21,10 +21,9 @@ pre_build() {
|
|||
-e "s/use_scm_version=True,/version=\"${version}\",/" \
|
||||
-i setup.py
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense README.rst LICENSE
|
||||
rm ${DESTDIR}/usr/bin/keyring
|
||||
cp -f ${DESTDIR}/usr/bin/keyring{,3.4}
|
||||
replace_interpreter python ${DESTDIR}/usr/bin/keyring
|
||||
}
|
||||
|
||||
python3.4-keyring_package() {
|
||||
|
@ -34,7 +33,7 @@ python3.4-keyring_package() {
|
|||
depends="python3.4"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/keyring3.4
|
||||
vmove usr/lib/python3.4
|
||||
vlicense README.rst LICENSE
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue