summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-08-19 13:13:36 +0000
committerAli Polatel <hawking@gentoo.org>2008-08-19 13:13:36 +0000
commitfce2c608b86b937efcf29517f87f169018425033 (patch)
tree4c7bda0a9eaed77140beb20648e81f57df08d77e /dev-python/bicyclerepair
parentUse python_get_sitedir, quoting, keyword ~amd64, set PYTHONPATH=. for src_test. (diff)
downloadhistorical-fce2c608b86b937efcf29517f87f169018425033.tar.gz
historical-fce2c608b86b937efcf29517f87f169018425033.tar.bz2
historical-fce2c608b86b937efcf29517f87f169018425033.zip
Set PYTHON_MODNAME, compile python files properly.
Package-Manager: portage--svn.wrabbit
Diffstat (limited to 'dev-python/bicyclerepair')
-rw-r--r--dev-python/bicyclerepair/ChangeLog5
-rw-r--r--dev-python/bicyclerepair/Manifest12
-rw-r--r--dev-python/bicyclerepair/bicyclerepair-0.9-r1.ebuild14
3 files changed, 20 insertions, 11 deletions
diff --git a/dev-python/bicyclerepair/ChangeLog b/dev-python/bicyclerepair/ChangeLog
index 65ad7f1c1f28..e092aeea3104 100644
--- a/dev-python/bicyclerepair/ChangeLog
+++ b/dev-python/bicyclerepair/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/bicyclerepair
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bicyclerepair/ChangeLog,v 1.18 2008/03/21 09:16:16 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bicyclerepair/ChangeLog,v 1.19 2008/08/19 13:13:36 hawking Exp $
+
+ 19 Aug 2008; Ali Polatel <hawking@gentoo.org> bicyclerepair-0.9-r1.ebuild:
+ Set PYTHON_MODNAME, compile python files properly.
21 Mar 2008; Christian Faulhammer <opfer@gentoo.org>
bicyclerepair-0.9-r1.ebuild:
diff --git a/dev-python/bicyclerepair/Manifest b/dev-python/bicyclerepair/Manifest
index b0158b7172e2..84702d23bda5 100644
--- a/dev-python/bicyclerepair/Manifest
+++ b/dev-python/bicyclerepair/Manifest
@@ -6,14 +6,14 @@ DIST bicyclerepair-0.7.1.tar.gz 87885 RMD160 b288dbfabbbc56da1c99af1b4d86b3abc39
DIST bicyclerepair-0.9.tar.gz 165025 RMD160 18f274c2078f481b63e20a7f50aa14119dbdf55e SHA1 269c0fda6111b9c5cb631d46626083a9d213baec SHA256 69509eebaeb595ad1d14291b47c6236df97abd5893352965055d91b0cfaea116
EBUILD bicyclerepair-0.7.1-r1.ebuild 1353 RMD160 fc6a2eef1c62eb2c3b27c82d75018b65e56092f6 SHA1 f458dbaffc0657a5598fab4d9638396a9cb4afa2 SHA256 6072f3edffe19a2eb979780966f2673d9617f636525cab5a7ef2b18f00b6cc5e
EBUILD bicyclerepair-0.7.1.ebuild 1018 RMD160 91e2289e6347d48f2541aca139c1513375866bf9 SHA1 aa1d3706e90bd79b90b7fa9d0d7145ac925bd3d4 SHA256 bed25f2017ea1607babd7b40b9cb40721a5d1da38ada9330839e594c953ced0e
-EBUILD bicyclerepair-0.9-r1.ebuild 1506 RMD160 b2a1ba48e29fe7acf6ac497b4361127e1144cd4a SHA1 051be2a914f20913663d41330499a7b4f3c62e53 SHA256 341d9efc307043ebe2b9bf3424a12ab96fd82ab97379be6675327562780c0723
+EBUILD bicyclerepair-0.9-r1.ebuild 1623 RMD160 b206e28dcc326dd1a24f8d6fef745b7762c57406 SHA1 54989fbe576e35b68c025182028d1656ac7612c6 SHA256 d9b77fb6a2f24e7fefc47d9eba79cee36b06ac881202eaa047a2c0140868235d
EBUILD bicyclerepair-0.9.ebuild 1504 RMD160 f98f188858e7cc34d0c906b156a5ce5428a1f218 SHA1 6f7ccc590b82794fbc73c5ae55fef77623d2985c SHA256 be273bf65a092b1bfb1f579aa6303a962f21e29e8149d31a3aaeaf826e67f728
-MISC ChangeLog 2505 RMD160 8ddc1d6385375d1711bd3cd519081212dc96ab76 SHA1 ff894e2f34f1751f70a5db344aaa34107e5b3d8d SHA256 cef4dd7b2b68a09a7bbff6f90f0bf55f79f2c518caef050de40f6f54d65c82a1
+MISC ChangeLog 2638 RMD160 4134fcfd2380e65f49543dc38cd7ce6526796413 SHA1 77b9b9b8800ef59670953f4de0450062c97d2489 SHA256 b16954338693aaa91ce78de2115e697aac46f250c2f2712bd54652c0ae65e99a
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFH432ONQqtfCuFneMRArgLAJ99uIF9nUYIDiPeM+FjAxPVIK/V6ACff0uN
-xG3COl4ZywibM+tLskfxxE8=
-=rxNJ
+iEUEARECAAYFAkiqxwgACgkQQU4yORhF8iBhCQCYvXuqvo9TManlGpl0bO48LOcn
+egCeNDzaPB5tver7slS2znJ+BJzCRr4=
+=IDLh
-----END PGP SIGNATURE-----
diff --git a/dev-python/bicyclerepair/bicyclerepair-0.9-r1.ebuild b/dev-python/bicyclerepair/bicyclerepair-0.9-r1.ebuild
index 4f3f0991a7f7..74b3492c054e 100644
--- a/dev-python/bicyclerepair/bicyclerepair-0.9-r1.ebuild
+++ b/dev-python/bicyclerepair/bicyclerepair-0.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bicyclerepair/bicyclerepair-0.9-r1.ebuild,v 1.2 2008/03/21 09:16:16 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bicyclerepair/bicyclerepair-0.9-r1.ebuild,v 1.3 2008/08/19 13:13:36 hawking Exp $
inherit distutils elisp-common
@@ -18,6 +18,7 @@ DEPEND="virtual/python
app-emacs/python-mode )"
SITEFILE=50${PN}-gentoo.el
+PYTHON_MODNAME="bike"
src_unpack() {
unpack ${A}
@@ -34,9 +35,9 @@ src_install() {
}
pkg_postinst() {
+ python_version
# Enable IDLE integration if Python was compiled with tcltk.
- PYTHON_VER=$(python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:')
- config_txt=/usr/lib/python${PYTHON_VER}/tools/idle/config.txt
+ config_txt="${ROOT}"/usr/lib/python${PYVER}/tools/idle/config.txt
if [ -f "${config_txt}" ];
then
if [ -z "`grep BicycleRepairMan_Idle ${config_txt}`" ]; then
@@ -44,11 +45,16 @@ pkg_postinst() {
echo "[BicycleRepairMan_Idle]" >> ${config_txt}
fi
else
- elog "BicycleRepairMan won't integrate with IDLE included in Python 2.3*"
+ elog "BicycleRepairMan won't integrate with IDLE"
fi
use emacs && elisp-site-regen
+
+ distutils_pkg_postinst
+ python_mod_optimize $(python_get_sitedir)/bikeemacs.py
+ python_mod_optimize $(python_get_sitedir)/BicycleRepairMan_Idle.py
}
pkg_postrm() {
use emacs && elisp-site-regen
+ python_mod_cleanup
}