From a8cd0f232dddf816195adfaed929ecef88ba7694 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 24 May 2018 19:49:13 +0200 Subject: [PATCH] python-envdir: fix alternatives --- srcpkgs/python-envdir/files/LICENSE | 20 -------------------- srcpkgs/python-envdir/template | 16 +++++++--------- 2 files changed, 7 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/python-envdir/files/LICENSE diff --git a/srcpkgs/python-envdir/files/LICENSE b/srcpkgs/python-envdir/files/LICENSE deleted file mode 100644 index 939d8e18c07..00000000000 --- a/srcpkgs/python-envdir/files/LICENSE +++ /dev/null @@ -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. - diff --git a/srcpkgs/python-envdir/template b/srcpkgs/python-envdir/template index 304dfba31e7..5a370a2e2ff 100644 --- a/srcpkgs/python-envdir/template +++ b/srcpkgs/python-envdir/template @@ -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 " 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"