summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-06 14:56:37 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-06 14:56:37 +0000
commit2a4cf2a90ef2778388ed228388c8213e9ca3e674 (patch)
tree136405e22cdaa369a5f69143fba246363eb893da /sci-misc
parentStable for HPPA (bug #316539). (diff)
downloadhistorical-2a4cf2a90ef2778388ed228388c8213e9ca3e674.tar.gz
historical-2a4cf2a90ef2778388ed228388c8213e9ca3e674.tar.bz2
historical-2a4cf2a90ef2778388ed228388c8213e9ca3e674.zip
Set SUPPORT_PYTHON_ABIS (bug #316241).
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/pythoncad/ChangeLog6
-rw-r--r--sci-misc/pythoncad/Manifest4
-rw-r--r--sci-misc/pythoncad/pythoncad-1.37.ebuild21
3 files changed, 21 insertions, 10 deletions
diff --git a/sci-misc/pythoncad/ChangeLog b/sci-misc/pythoncad/ChangeLog
index 054c847fdbb9..6aa89052a974 100644
--- a/sci-misc/pythoncad/ChangeLog
+++ b/sci-misc/pythoncad/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-misc/pythoncad
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/pythoncad/ChangeLog,v 1.4 2010/03/10 23:13:23 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/pythoncad/ChangeLog,v 1.5 2010/07/06 14:56:37 arfrever Exp $
+
+ 06 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pythoncad-1.37.ebuild:
+ Set SUPPORT_PYTHON_ABIS (bug #316241).
*pythoncad-1.37 (10 Mar 2010)
diff --git a/sci-misc/pythoncad/Manifest b/sci-misc/pythoncad/Manifest
index dc10b89c2c33..db863e83c711 100644
--- a/sci-misc/pythoncad/Manifest
+++ b/sci-misc/pythoncad/Manifest
@@ -1,5 +1,5 @@
AUX pythoncad-1.37-png.patch 1535 RMD160 6d159e7d46fdde69b9fa85247d15e6495d023ac2 SHA1 1dc842cd067cb3ef8d9774f50b9596d5b245e31e SHA256 772c85464da9abe54ddaac426ce5dad8b9af8134701e755f9d280997a2f05315
DIST PythonCAD-DS1-R37.tar.gz 504053 RMD160 40c931c381c179de273053ed0b044eb5266fdec3 SHA1 65c4e3f0d0e0a3dc3e527180a528db79ebe87bd5 SHA256 74222bd43af1e66ab31a45782ed7bd94d54ccbbdb7a58046ec2775f27f806031
-EBUILD pythoncad-1.37.ebuild 1069 RMD160 45fb264ba2e9e0930851270af162773268cdfef4 SHA1 712eac1ac2762b2f38e1f8fc68c832847a52a9fb SHA256 d7ba6475896000d1280cfc5d0ae05b3e2b5c09357e7d8bf9b2036ce2980fe883
-MISC ChangeLog 815 RMD160 faf8e4591e68eedf5013eb200f1ba2f6ab0ec555 SHA1 a48e21e3088eae692c0beaf796d63d947e7e52a1 SHA256 cb84faba7c7a8bb586a5bedbb698f9d45713128ab051f6046991c3e0b33c0474
+EBUILD pythoncad-1.37.ebuild 1259 RMD160 10f90f2cc4c42bc70a98731009eb6162863c67b8 SHA1 9d906a29b6a533696dcb6bd3565064e7e08e8740 SHA256 cfd1ac22613d6fd1d623fbb96d6178dac8ad301f8e9f25479d13a10ceee712e7
+MISC ChangeLog 959 RMD160 2894c74d6843f9f80a40b5f6f9016be0e2773dd9 SHA1 bcd88a9fd22f7db85770b7d63a875e0c043dd765 SHA256 0bc0e7a4b8f4918d9752aacab68422fff8f129531d187de06225f45a964ee3b9
MISC metadata.xml 298 RMD160 3bd881d539e14c928eeb3f19a2be954329ec96ad SHA1 60cf6bdecf4525425d066852f1847cf46497934c SHA256 3e73f586412bde4dc3043a7cc91e1508ac3138c16ff6167a96d796ce694e2a6e
diff --git a/sci-misc/pythoncad/pythoncad-1.37.ebuild b/sci-misc/pythoncad/pythoncad-1.37.ebuild
index 8438fe5beb66..e75e7257a700 100644
--- a/sci-misc/pythoncad/pythoncad-1.37.ebuild
+++ b/sci-misc/pythoncad/pythoncad-1.37.ebuild
@@ -1,8 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/pythoncad/pythoncad-1.37.ebuild,v 1.1 2010/03/10 23:13:23 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/pythoncad/pythoncad-1.37.ebuild,v 1.2 2010/07/06 14:56:37 arfrever Exp $
-NEED_PYTHON=2.3
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
inherit eutils distutils versionator
@@ -12,9 +15,9 @@ MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="CAD program written in PyGTK"
HOMEPAGE="http://www.pythoncad.org/"
-LICENSE="GPL-2"
SRC_URI="mirror://sourceforge/pythoncad/${MY_P}.tar.gz"
+LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
@@ -26,9 +29,7 @@ PYTHON_MODNAME=${MY_PN}
S=${WORKDIR}/${MY_P}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}/${P}-png.patch"
sed -i \
@@ -39,7 +40,13 @@ src_unpack() {
src_install() {
distutils_src_install
- newbin gtkpycad.py pythoncad
+
+ install_pythoncad() {
+ newbin gtkpycad.py pythoncad-${PYTHON_ABI}
+ }
+ python_execute_function -q install_pythoncad
+ python_generate_wrapper_scripts "${ED}usr/bin/pythoncad"
+
insinto /etc/"${PN}"
doins prefs.py
domenu pythoncad.desktop