mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
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'
|
# Template file for 'python-envdir'
|
||||||
pkgname=python-envdir
|
pkgname=python-envdir
|
||||||
version=1.0.1
|
version=1.0.1
|
||||||
revision=1
|
revision=2
|
||||||
|
noarch=yes
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
wrksrc="${pkgname/python-//}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="envdir"
|
pycompile_module="envdir"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-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>"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/jezdez/envdir"
|
homepage="https://github.com/jezdez/envdir"
|
||||||
distfiles="https://github.com/jezdez/envdir/archive/${version}.tar.gz"
|
distfiles="https://github.com/jezdez/envdir/archive/${version}.tar.gz"
|
||||||
checksum=779a308a07a673f391db87ef639d4b0f9921238bba02dd3e98c3281520faee95
|
checksum=779a308a07a673f391db87ef639d4b0f9921238bba02dd3e98c3281520faee95
|
||||||
noarch=yes
|
|
||||||
alternatives="
|
alternatives="
|
||||||
python-envdir:envdir:/usr/bin/envdir2
|
envdir:envdir:/usr/bin/envdir2
|
||||||
python-envdir:envshell:/usr/bin/envshell2
|
envdir:envshell:/usr/bin/envshell2"
|
||||||
"
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
@ -25,9 +24,8 @@ post_install() {
|
||||||
|
|
||||||
python3-envdir_package() {
|
python3-envdir_package() {
|
||||||
alternatives="
|
alternatives="
|
||||||
python-envdir:envdir:/usr/bin/envdir3
|
envdir:envdir:/usr/bin/envdir3
|
||||||
python-envdir:envshell:/usr/bin/envshell3
|
envdir:envshell:/usr/bin/envshell3"
|
||||||
"
|
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_module="envdir"
|
pycompile_module="envdir"
|
||||||
depends="python3-setuptools"
|
depends="python3-setuptools"
|
||||||
|
|
Loading…
Add table
Reference in a new issue