diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2014-09-30 11:33:39 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2014-09-30 11:33:39 +0000 |
commit | 082cde4f4e5890fcd2bf58a022dd2afa97242288 (patch) | |
tree | ca47c9bc6d2998fa958cde847f7b13a34e9c9599 /sys-apps/pcsc-lite | |
parent | Initial commit, based on lorelei overlay version (diff) | |
download | gentoo-2-082cde4f4e5890fcd2bf58a022dd2afa97242288.tar.gz gentoo-2-082cde4f4e5890fcd2bf58a022dd2afa97242288.tar.bz2 gentoo-2-082cde4f4e5890fcd2bf58a022dd2afa97242288.zip |
Force python2, bug#524024
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
Diffstat (limited to 'sys-apps/pcsc-lite')
-rw-r--r-- | sys-apps/pcsc-lite/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/pcsc-lite-1.8.12-r1.ebuild (renamed from sys-apps/pcsc-lite/pcsc-lite-1.8.12.ebuild) | 12 |
2 files changed, 16 insertions, 4 deletions
diff --git a/sys-apps/pcsc-lite/ChangeLog b/sys-apps/pcsc-lite/ChangeLog index 38bb13bc062c..8a0a73f4394b 100644 --- a/sys-apps/pcsc-lite/ChangeLog +++ b/sys-apps/pcsc-lite/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/pcsc-lite # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.174 2014/09/30 05:41:53 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.175 2014/09/30 11:33:39 alonbl Exp $ + +*pcsc-lite-1.8.12-r1 (30 Sep 2014) + + 30 Sep 2014; Alon Bar-Lev <alonbl@gentoo.org> +pcsc-lite-1.8.12-r1.ebuild, + -pcsc-lite-1.8.12.ebuild: + Force python2, bug#524024 30 Sep 2014; Alon Bar-Lev <alonbl@gentoo.org> -pcsc-lite-1.8.2.ebuild: Cleanup diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.8.12.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.8.12-r1.ebuild index 2b438543168a..08a90c5d3f02 100644 --- a/sys-apps/pcsc-lite/pcsc-lite-1.8.12.ebuild +++ b/sys-apps/pcsc-lite/pcsc-lite-1.8.12-r1.ebuild @@ -1,10 +1,11 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.12.ebuild,v 1.1 2014/09/28 18:26:41 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.12-r1.ebuild,v 1.1 2014/09/30 11:33:39 alonbl Exp $ EAPI="5" +PYTHON_COMPAT=( python{2_6,2_7} ) -inherit eutils multilib systemd udev user autotools +inherit autotools eutils python-single-r1 multilib systemd udev user DESCRIPTION="PC/SC Architecture smartcard middleware library" HOMEPAGE="http://pcsclite.alioth.debian.org/" @@ -27,7 +28,8 @@ IUSE="libusb policykit selinux +udev" REQUIRED_USE="^^ ( udev libusb )" -CDEPEND="libusb? ( virtual/libusb:1 ) +CDEPEND="${PYTHON_DEPS} + libusb? ( virtual/libusb:1 ) selinux? ( sec-policy/selinux-pcscd ) udev? ( virtual/udev ) policykit? ( >=sys-auth/polkit-0.111 )" @@ -39,6 +41,8 @@ RDEPEND="${CDEPEND} !<sys-apps/openrc-0.11.8" pkg_setup() { + python-single-r1_pkg_setup + enewgroup openct # make sure it exists enewgroup pcscd enewuser pcscd -1 -1 /run/pcscd pcscd,openct @@ -75,6 +79,8 @@ src_install() { insinto "$(get_udevdir)"/rules.d doins "${FILESDIR}"/99-pcscd-hotplug.rules fi + + python_fix_shebang "${ED}/usr/bin" } pkg_postinst() { |