summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-05-29 22:35:37 +0000
committerTristan Heaven <tristan@gentoo.org>2007-05-29 22:35:37 +0000
commita1113e3c39d82319f0768bdaf3f8cfe2190ac727 (patch)
treedcc7d5994e3315bab21dfd21a199086c3b3a33bc /games-strategy
parentRemove stale file. (diff)
downloadhistorical-a1113e3c39d82319f0768bdaf3f8cfe2190ac727.tar.gz
historical-a1113e3c39d82319f0768bdaf3f8cfe2190ac727.tar.bz2
historical-a1113e3c39d82319f0768bdaf3f8cfe2190ac727.zip
Byte compile .py files for some speedup, bug #180191
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/lightyears/ChangeLog5
-rw-r--r--games-strategy/lightyears/Manifest24
-rw-r--r--games-strategy/lightyears/lightyears-1.2a.ebuild13
3 files changed, 27 insertions, 15 deletions
diff --git a/games-strategy/lightyears/ChangeLog b/games-strategy/lightyears/ChangeLog
index 977fbd7a9bbf..d0a97411adc0 100644
--- a/games-strategy/lightyears/ChangeLog
+++ b/games-strategy/lightyears/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/lightyears
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/ChangeLog,v 1.3 2007/04/30 13:13:06 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/ChangeLog,v 1.4 2007/05/29 22:35:37 nyhm Exp $
+
+ 29 May 2007; Tristan Heaven <nyhm@gentoo.org> lightyears-1.2a.ebuild:
+ Byte compile .py files for some speedup, bug #180191
30 Apr 2007; Tristan Heaven <nyhm@gentoo.org> lightyears-1.2a.ebuild:
keyword ~x86
diff --git a/games-strategy/lightyears/Manifest b/games-strategy/lightyears/Manifest
index 91f6d2bbb19f..2d2384dd3527 100644
--- a/games-strategy/lightyears/Manifest
+++ b/games-strategy/lightyears/Manifest
@@ -6,14 +6,14 @@ MD5 2b7ade1851ad91f9326a477bed95911c files/lightyears-1.2a-gentoo.patch 707
RMD160 66f1641c32bccaf6e1b248ff55a3779224bb50ac files/lightyears-1.2a-gentoo.patch 707
SHA256 c0fb98009928b5ea4b2d83ddc5b21ad12c7700f0b23ae7fd80a5a80a0b15a297 files/lightyears-1.2a-gentoo.patch 707
DIST LightYears-1.2a.zip 1494290 RMD160 41e52a51b8425300d5e1abc083148fec93c61d1c SHA1 2c86eded64901e6bfd762c07a29866cb5f279443 SHA256 81980a4b53ad84e835f7a8f49a615ec355b04752d6aaa64d35ba832d7190d88b
-EBUILD lightyears-1.2a.ebuild 1506 RMD160 8d65b5720ec23cdb09daa4576d2c8315b1963cb4 SHA1 7fc4938bfd6602c1b3c7e05d6fa85542a683536b SHA256 02644b34dc6366ea01dec62f9ab1558e382bcb7021a7fcb9913805030af487b2
-MD5 1dccd1921f5dc9c0764838805d9d96cb lightyears-1.2a.ebuild 1506
-RMD160 8d65b5720ec23cdb09daa4576d2c8315b1963cb4 lightyears-1.2a.ebuild 1506
-SHA256 02644b34dc6366ea01dec62f9ab1558e382bcb7021a7fcb9913805030af487b2 lightyears-1.2a.ebuild 1506
-MISC ChangeLog 674 RMD160 081eee3a80d827557e5f2f94cb25b042f5fa13b1 SHA1 a18a1ee706b1ab267b047e7f165ab4285cf11dc5 SHA256 c0723514d795511d72b45d2957e83fe45f6b4d235d807c731febf2bdf198a296
-MD5 524f7b0eaf04dc5f6e629f22fc0b34ae ChangeLog 674
-RMD160 081eee3a80d827557e5f2f94cb25b042f5fa13b1 ChangeLog 674
-SHA256 c0723514d795511d72b45d2957e83fe45f6b4d235d807c731febf2bdf198a296 ChangeLog 674
+EBUILD lightyears-1.2a.ebuild 1668 RMD160 0ec4108fa4218caac95234546a351082c4d4be6a SHA1 16a65fb706963f51b0c05582722de44eacc5b4db SHA256 81e520e9d916771b4edd9e46d1e30985cb684d6712c90435bbc0724177302f8e
+MD5 6b38da397ed314c743efb7304f81e510 lightyears-1.2a.ebuild 1668
+RMD160 0ec4108fa4218caac95234546a351082c4d4be6a lightyears-1.2a.ebuild 1668
+SHA256 81e520e9d916771b4edd9e46d1e30985cb684d6712c90435bbc0724177302f8e lightyears-1.2a.ebuild 1668
+MISC ChangeLog 802 RMD160 6f28a71eae33c692220f00691592cd1374e923a9 SHA1 95f6f8b2bad8fb710a9418b01ccb13a382a6f7f1 SHA256 531266887aa56eb959e66e1aaa6461349af5f6be6903b32595d9ec5e0b17462f
+MD5 a19dd52b5b21d6e97629302e8aae293e ChangeLog 802
+RMD160 6f28a71eae33c692220f00691592cd1374e923a9 ChangeLog 802
+SHA256 531266887aa56eb959e66e1aaa6461349af5f6be6903b32595d9ec5e0b17462f ChangeLog 802
MISC metadata.xml 366 RMD160 5d947375304d60e93c580163a09d6c27dea33a98 SHA1 a4b1a9849dfc45aaca4fb7cac65e695cf4277cd7 SHA256 c21e8e6d236aef6628b448f839689a39ea28201b15ff08fffb1aadd717f7f6b7
MD5 c5d83d587714cdc755e1cca95979b41f metadata.xml 366
RMD160 5d947375304d60e93c580163a09d6c27dea33a98 metadata.xml 366
@@ -22,9 +22,9 @@ MD5 03a03c2a6f0a7945581702eed43afd35 files/digest-lightyears-1.2a 241
RMD160 48c785782865e4075d685a4b97dd977e2fc1b24a files/digest-lightyears-1.2a 241
SHA256 922a3c24ffff49fcf00ea34d78720152e341d6e4ff8c01f7fe1ecd1eec37aaab files/digest-lightyears-1.2a 241
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
+Version: GnuPG v2.0.4 (GNU/Linux)
-iD8DBQFGNetodz7hIScOURERAki8AKDHrqZKQEmRj8dYTZpAETXN16BMDgCg17Yn
-dMYsIa4ZVztJ4I1pYyXclQ8=
-=RMVU
+iD8DBQFGXKq/dz7hIScOURERAg+hAJ9MmrLpGtVtGHkf2NJc7OGPDe+zZgCfXYOt
+EsRD5SDTB1g1VGyQPeFol2Q=
+=7gG9
-----END PGP SIGNATURE-----
diff --git a/games-strategy/lightyears/lightyears-1.2a.ebuild b/games-strategy/lightyears/lightyears-1.2a.ebuild
index 80d86905ab07..fc87843c816e 100644
--- a/games-strategy/lightyears/lightyears-1.2a.ebuild
+++ b/games-strategy/lightyears/lightyears-1.2a.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/lightyears-1.2a.ebuild,v 1.3 2007/04/30 13:13:06 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/lightyears-1.2a.ebuild,v 1.4 2007/05/29 22:35:37 nyhm Exp $
-inherit eutils games
+inherit eutils python games
MY_PN=LightYears
MY_P=${MY_PN}-${PV}
@@ -54,3 +54,12 @@ src_install() {
make_desktop_entry ${PN} "Light Years Into Space"
prepgamesdirs
}
+
+pkg_postinst() {
+ games_pkg_postinst
+ python_mod_optimize "$(games_get_libdir)/${PN}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup "$(games_get_libdir)/${PN}"
+}