python-envdir: fix alternatives
This commit is contained in:
parent
ede88b6511
commit
a8cd0f232d
2 changed files with 7 additions and 29 deletions
|
@ -1,20 +0,0 @@
|
|||
Copyright (c) 2013 Jannis Leidel and contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
IN THE SOFTWARE.
|
||||
|
|
@ -1,23 +1,22 @@
|
|||
# Template file for 'python-envdir'
|
||||
pkgname=python-envdir
|
||||
version=1.0.1
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="${pkgname/python-//}-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="envdir"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-setuptools"
|
||||
short_desc="A Python2 port of daemontools' envdir"
|
||||
short_desc="Python2 port of daemontools' envdir"
|
||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/jezdez/envdir"
|
||||
distfiles="https://github.com/jezdez/envdir/archive/${version}.tar.gz"
|
||||
checksum=779a308a07a673f391db87ef639d4b0f9921238bba02dd3e98c3281520faee95
|
||||
noarch=yes
|
||||
alternatives="
|
||||
python-envdir:envdir:/usr/bin/envdir2
|
||||
python-envdir:envshell:/usr/bin/envshell2
|
||||
"
|
||||
envdir:envdir:/usr/bin/envdir2
|
||||
envdir:envshell:/usr/bin/envshell2"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
@ -25,9 +24,8 @@ post_install() {
|
|||
|
||||
python3-envdir_package() {
|
||||
alternatives="
|
||||
python-envdir:envdir:/usr/bin/envdir3
|
||||
python-envdir:envshell:/usr/bin/envshell3
|
||||
"
|
||||
envdir:envdir:/usr/bin/envdir3
|
||||
envdir:envshell:/usr/bin/envshell3"
|
||||
noarch=yes
|
||||
pycompile_module="envdir"
|
||||
depends="python3-setuptools"
|
||||
|
|
Loading…
Reference in a new issue