summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-02-06 15:08:30 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-02-06 15:08:30 +0000
commit3108ac8f385e32c17dfb96511ecae7c50221ca1f (patch)
treeecead5cbca835e964ac2ad5f76a7b1775c809fcc /dev-python/pyfltk
parentUse $(PYTHON -f) instead of ${python}. (diff)
downloadhistorical-3108ac8f385e32c17dfb96511ecae7c50221ca1f.tar.gz
historical-3108ac8f385e32c17dfb96511ecae7c50221ca1f.tar.bz2
historical-3108ac8f385e32c17dfb96511ecae7c50221ca1f.zip
Use $(PYTHON -f) instead of ${python}.
Package-Manager: portage-15324-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyfltk')
-rw-r--r--dev-python/pyfltk/Manifest14
-rw-r--r--dev-python/pyfltk/pyfltk-1.1.4.ebuild19
-rw-r--r--dev-python/pyfltk/pyfltk-1.1.5.ebuild17
3 files changed, 21 insertions, 29 deletions
diff --git a/dev-python/pyfltk/Manifest b/dev-python/pyfltk/Manifest
index 4d43fcb7e7d8..1e0d2cee2892 100644
--- a/dev-python/pyfltk/Manifest
+++ b/dev-python/pyfltk/Manifest
@@ -1,17 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST pyFltk-1.1.4.tar.gz 866905 RMD160 88bd550d01b3b35bdb7b1df11308bf4c16654a81 SHA1 3541d21936c1fbe0c8aaabede3193dbd7d112fdb SHA256 dbcc0584b43df0ae8775d902329b9511ff1c20d17b916e62b355aa2a55ca9dfa
DIST pyFltk-1.1.5.tar.gz 864463 RMD160 df6a0ab3f88e1f8fddba9542a0217cb32a215333 SHA1 2c55e438bb8d37b86b5c9c27339dd2222338d835 SHA256 278234198cf59b6e687cb4949e609ef766e29076f81fed4492cf31ab353c5a5c
DIST pyfltkmanual.pdf 206137 RMD160 ea55c11127e41e3617ff86fe44ef3097f6fe4ad9 SHA1 672003a9d44b285a79a7172b2e498047da7c74fd SHA256 17a4806e6a0f75f0b458ceca1cfa6d8738cee2f1fb2d092aa5bd83882f9dd122
-EBUILD pyfltk-1.1.4.ebuild 1225 RMD160 0479662fbefcf736f81e5f3da5aeb602968199d0 SHA1 dbf39b14ff103e2eefcdd02f50f2d811dff9d24f SHA256 e739192d783555c637e77da56b04f32da11464f34f51e67276a3f15754681d82
-EBUILD pyfltk-1.1.5.ebuild 1228 RMD160 cdce9f4107c764256bc2519096c2c902e06eb00e SHA1 35c23c7490eb03d3e2e1b5d47db8315897f3e470 SHA256 d343bc24424318c86baca25ed88f302a8bdef91bba22585d3c0256c4c4a76f39
+EBUILD pyfltk-1.1.4.ebuild 1264 RMD160 43c9e66cedec9e9d2729ddd429d31771cff82ce9 SHA1 2a22b1f93b9223e488b3a355b0cecb7c44e76056 SHA256 6a63427b1e51fb91e5afd46f30c08e5b784a0cabf5ad84932bc99b93ea05b4a4
+EBUILD pyfltk-1.1.5.ebuild 1267 RMD160 5fac588206b4f9131c615972804ad25ef7f33e17 SHA1 0fd8945339e298133e94705e32d5972bb2c6bbf1 SHA256 fd5bf39afe610b60c32b1191d6f403e05826d4b9953378b8969d664a8be637d0
MISC ChangeLog 2469 RMD160 6753f819c0a7b9e0823c35db3011cdfe2bf8da9f SHA1 1760ee707668f99e009a2aeb9ed13f2deff07843 SHA256 dbf2ecfedb0d210f0951d9a7b61b14b89ed4eefad97bdbf7a9b95c734f93b361
MISC metadata.xml 366 RMD160 cbd50a23e840b5440edb6f6d10a12920e629bb90 SHA1 4cd72c6c215a44f9d58fab5fafea709c4449f88c SHA256 33c14f0672891df32de325f73ca9d69e535c6167536b69a6a49fc242f9052d4b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAktXt2oACgkQ1ycZbhPLE2AU2QCePRYZBdu6zopK+F2BnNjWCK+1
-GPMAoJS/jBRVRkHF48z3/6Tv6gqdlLw1
-=IpjB
------END PGP SIGNATURE-----
diff --git a/dev-python/pyfltk/pyfltk-1.1.4.ebuild b/dev-python/pyfltk/pyfltk-1.1.4.ebuild
index 8fc87f2755e3..0261279704fa 100644
--- a/dev-python/pyfltk/pyfltk-1.1.4.ebuild
+++ b/dev-python/pyfltk/pyfltk-1.1.4.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.1.4.ebuild,v 1.6 2009/11/24 00:03:53 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.1.4.ebuild,v 1.7 2010/02/06 15:08:30 arfrever Exp $
EAPI="2"
+PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
inherit eutils distutils
@@ -22,15 +23,14 @@ IUSE="doc"
RDEPEND=">=x11-libs/fltk-1.1.9:1.1[opengl]"
DEPEND="${RDEPEND}
dev-lang/swig"
-
-RESTRICT_PYTHON_ABIS="3*"
-
-PYTHON_MODNAME="fltk"
+RESTRICT_PYTHON_ABIS="3.*"
S="${WORKDIR}/${MY_P}"
DOCS="CHANGES"
+PYTHON_MODNAME="fltk"
+
src_prepare() {
rm -f python/fltk*
# move docs because the swig stuff will remove them
@@ -38,9 +38,10 @@ src_prepare() {
}
src_compile() {
- cd "${S}"/python
- ${python} MakeSwig.py || die "swigging wrappers failed"
- cd "${S}"
+ pushd python > /dev/null
+ "$(PYTHON -f)" MakeSwig.py || die "swigging wrappers failed"
+ popd > /dev/null
+
distutils_src_compile
}
diff --git a/dev-python/pyfltk/pyfltk-1.1.5.ebuild b/dev-python/pyfltk/pyfltk-1.1.5.ebuild
index 1a21fb25bd99..665f1eda5aa3 100644
--- a/dev-python/pyfltk/pyfltk-1.1.5.ebuild
+++ b/dev-python/pyfltk/pyfltk-1.1.5.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.1.5.ebuild,v 1.1 2010/01/21 01:33:42 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.1.5.ebuild,v 1.2 2010/02/06 15:08:30 arfrever Exp $
EAPI="2"
+PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
inherit eutils distutils
@@ -22,15 +23,14 @@ IUSE="doc"
RDEPEND=">=x11-libs/fltk-1.1.9:1.1[opengl]"
DEPEND="${RDEPEND}
dev-lang/swig"
-
-RESTRICT_PYTHON_ABIS="3*"
-
-PYTHON_MODNAME="fltk"
+RESTRICT_PYTHON_ABIS="3.*"
S="${WORKDIR}/${MY_P}"
DOCS="CHANGES"
+PYTHON_MODNAME="fltk"
+
src_prepare() {
rm -f python/fltk*
# move docs because the swig stuff will remove them
@@ -38,9 +38,10 @@ src_prepare() {
}
src_compile() {
- cd "${S}"/python
- ${python} MakeSwig.py || die "swigging wrappers failed"
- cd "${S}"
+ pushd python > /dev/null
+ "$(PYTHON -f)" MakeSwig.py || die "swigging wrappers failed"
+ popd > /dev/null
+
distutils_src_compile
}