summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-01-08 19:35:49 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-01-08 19:35:49 +0000
commit967947e5b77c09f9f5729fb63c4ed8800db9621e (patch)
tree1d27dcdf0a69faaa22c1001a2c3540f92e6e7a77 /app-i18n/nkf
parentspace and mirror fix (diff)
downloadhistorical-967947e5b77c09f9f5729fb63c4ed8800db9621e.tar.gz
historical-967947e5b77c09f9f5729fb63c4ed8800db9621e.tar.bz2
historical-967947e5b77c09f9f5729fb63c4ed8800db9621e.zip
Fix deprecation warnings.
Package-Manager: portage-2.2.0_alpha14/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/nkf')
-rw-r--r--app-i18n/nkf/ChangeLog8
-rw-r--r--app-i18n/nkf/Manifest8
-rw-r--r--app-i18n/nkf/nkf-2.0.7-r1.ebuild20
-rw-r--r--app-i18n/nkf/nkf-2.0.7.ebuild20
-rw-r--r--app-i18n/nkf/nkf-2.1.0.ebuild14
5 files changed, 47 insertions, 23 deletions
diff --git a/app-i18n/nkf/ChangeLog b/app-i18n/nkf/ChangeLog
index c914e6381af0..a5c5a920217b 100644
--- a/app-i18n/nkf/ChangeLog
+++ b/app-i18n/nkf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-i18n/nkf
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.45 2010/01/23 09:02:26 matsuu Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.46 2011/01/08 19:35:49 arfrever Exp $
+
+ 08 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ nkf-2.0.7.ebuild, nkf-2.0.7-r1.ebuild, nkf-2.1.0.ebuild:
+ Fix deprecation warnings.
*nkf-2.1.0 (23 Jan 2010)
diff --git a/app-i18n/nkf/Manifest b/app-i18n/nkf/Manifest
index b762e0452e96..9bbdf9abc9fb 100644
--- a/app-i18n/nkf/Manifest
+++ b/app-i18n/nkf/Manifest
@@ -2,8 +2,8 @@ DIST NKF_python.tgz 2242 RMD160 759979ff4ade90b409439e7038f21a88bb14e46b SHA1 4e
DIST NKF_python20090602.tgz 2318 RMD160 a2697bcee3ae903456428def80dbacbdd9345a37 SHA1 659c4321e680398915ff7e9632c3b4ca61353ee1 SHA256 c86336e52398d836d6db4f9f169d11b4003ac02681b5e3395cd64c7823beb504
DIST nkf-2.1.0.tar.gz 156716 RMD160 77cf750e00fbc6b7b2178a25c152a4ed7b623a35 SHA1 6c88c12d973abbdb4c61ade47a470e01f7bbcc95 SHA256 a6e59bf0ebb9a1dbb3e9fc62302d0b19aefc6f5ccee0321b33fb47483ce636e8
DIST nkf207.tar.gz 150501 RMD160 da6eebf7dd59d934eca40f2f6588e97078c8d68a SHA1 97ee0920a5cd935acd08ca789c7b8c810a594311 SHA256 71d2ba992df209a00bb1dca45e3336729dc16e51b71526bd20f897cc6127a275
-EBUILD nkf-2.0.7-r1.ebuild 1522 RMD160 d4751a72fbcfa07844d91c6cb8e80ba5ff9a9a49 SHA1 4792c2fa342f533925da46028cdcb96f60adee10 SHA256 7b7bd0fb41e2e942352afced2a0300a845b7f563b63202d248e7bc4e9f29fd0f
-EBUILD nkf-2.0.7.ebuild 1365 RMD160 4cae0c07db77f484c9850f112a11e18003e6022a SHA1 6757d0585bcf57c45c20973f7b25112ad26d5bb4 SHA256 fa00e5fd25c905138020ed6cd9fe8f0edfe46f73720c50de2e0821a0c14bf958
-EBUILD nkf-2.1.0.ebuild 1542 RMD160 7712f8560cc543385f9a79a2faad42bbcd8fa0c9 SHA1 4772fa936feaee4468253049e3dc7a797fc0f688 SHA256 2ed2e1d5dd3f34bc66b1234c20ab9fe7ebb48926d05e3dc1cee1882094fc341d
-MISC ChangeLog 5156 RMD160 1da32a5d0d2350dd7ec94dd545463e0b4eb7a409 SHA1 135d4ca88f70e53b1edfd7f78a282bf2fef631a0 SHA256 7f902b8e2a7b598f78db12adf337dd0a3bc2ea5080b04f6bf96d429f538903d6
+EBUILD nkf-2.0.7-r1.ebuild 1611 RMD160 2a4400d992babd15bc1f61b6b97c7024b75d5ea6 SHA1 cfd5069df9deeb5572646bc0225d58fcddf0aae0 SHA256 77a31b3f31b8504ea3a76fbb5ced5cda4e97ecbd409f53926c1c69a34a5603cf
+EBUILD nkf-2.0.7.ebuild 1454 RMD160 64fc9b49769462e487be3f827250940cd6ce723d SHA1 d3f77626a41f13e4a4444b3c0b681b77f524aa83 SHA256 1658f9fedb2331032c532ce1eb86d1bc5bc69171a37b6b6361c920760cb8ad17
+EBUILD nkf-2.1.0.ebuild 1656 RMD160 c1aba67f9417c372e4d8a1b4ddb46f8d39bbd4c5 SHA1 a52f911d61698f3a26f9e0cc34e2c476362a101f SHA256 e58767ba85d69d60c7372c50634a248673eca9507e2ce030fadfcc22fe57df8c
+MISC ChangeLog 5319 RMD160 4655131a5dc1d760f58cd3fa5f5538f100b7928a SHA1 eb02be65c16c3a5ea15d98531bd756d484039cd4 SHA256 4548241a0d6905f964292f565cc6ba8a81c5056555211d5d97db0d6adaf68b26
MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
diff --git a/app-i18n/nkf/nkf-2.0.7-r1.ebuild b/app-i18n/nkf/nkf-2.0.7-r1.ebuild
index 70979474c4d7..1d87ce900578 100644
--- a/app-i18n/nkf/nkf-2.0.7-r1.ebuild
+++ b/app-i18n/nkf/nkf-2.0.7-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.7-r1.ebuild,v 1.1 2008/12/08 14:58:29 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.7-r1.ebuild,v 1.2 2011/01/08 19:35:49 arfrever Exp $
+
+EAPI="3"
inherit toolchain-funcs eutils perl-module distutils
@@ -17,11 +19,7 @@ IUSE="perl python linguas_ja"
S="${WORKDIR}/${MY_P}"
-src_unpack() {
- unpack ${MY_P}.tar.gz
-
- cd "${S}"
-
+src_prepare() {
sed -i -e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' Makefile || die
if use python; then
@@ -68,3 +66,11 @@ src_install() {
distutils_src_install
fi
}
+
+pkg_postinst() {
+ use python && distutils_pkg_postinst
+}
+
+pkg_postrm() {
+ use python && distutils_pkg_postrm
+}
diff --git a/app-i18n/nkf/nkf-2.0.7.ebuild b/app-i18n/nkf/nkf-2.0.7.ebuild
index 3b3ec87d9ee4..c185c4d0d73b 100644
--- a/app-i18n/nkf/nkf-2.0.7.ebuild
+++ b/app-i18n/nkf/nkf-2.0.7.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.7.ebuild,v 1.8 2007/08/25 13:46:17 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.7.ebuild,v 1.9 2011/01/08 19:35:49 arfrever Exp $
+
+EAPI="3"
inherit toolchain-funcs eutils perl-app distutils
@@ -17,11 +19,7 @@ IUSE="perl python linguas_ja"
S="${WORKDIR}/${MY_P}"
-src_unpack() {
- unpack ${MY_P}.tar.gz
-
- cd "${S}"
-
+src_prepare() {
sed -i -e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' Makefile || die
if use python; then
@@ -59,3 +57,11 @@ src_install() {
distutils_src_install
fi
}
+
+pkg_postinst() {
+ use python && distutils_pkg_postinst
+}
+
+pkg_postrm() {
+ use python && distutils_pkg_postrm
+}
diff --git a/app-i18n/nkf/nkf-2.1.0.ebuild b/app-i18n/nkf/nkf-2.1.0.ebuild
index bcb7a732b560..f4ef5838d6ce 100644
--- a/app-i18n/nkf/nkf-2.1.0.ebuild
+++ b/app-i18n/nkf/nkf-2.1.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.1.0.ebuild,v 1.1 2010/01/23 09:02:26 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.1.0.ebuild,v 1.2 2011/01/08 19:35:49 arfrever Exp $
-EAPI="2"
+EAPI="3"
inherit eutils distutils perl-module toolchain-funcs
@@ -65,3 +65,11 @@ src_install() {
distutils_src_install
fi
}
+
+pkg_postinst() {
+ use python && distutils_pkg_postinst
+}
+
+pkg_postrm() {
+ use python && distutils_pkg_postrm
+}