summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-27 10:31:45 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-27 10:31:45 +0000
commit182e43e618352a5140beec1378feec0d172e5df2 (patch)
tree062153d98d791db6251c8ef0a8d86b871ee7eaf8 /app-i18n
parentBuild dependencies are only needed for testing. Fix testing dependencies. Dro... (diff)
downloadhistorical-182e43e618352a5140beec1378feec0d172e5df2.tar.gz
historical-182e43e618352a5140beec1378feec0d172e5df2.tar.bz2
historical-182e43e618352a5140beec1378feec0d172e5df2.zip
Convert to python-any-r1.
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/pyzy/ChangeLog7
-rw-r--r--app-i18n/pyzy/Manifest21
-rw-r--r--app-i18n/pyzy/pyzy-0.1.0-r1.ebuild52
3 files changed, 75 insertions, 5 deletions
diff --git a/app-i18n/pyzy/ChangeLog b/app-i18n/pyzy/ChangeLog
index 01a1baabbed2..d6d41fed2811 100644
--- a/app-i18n/pyzy/ChangeLog
+++ b/app-i18n/pyzy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/pyzy
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/pyzy/ChangeLog,v 1.5 2014/11/15 23:20:39 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/pyzy/ChangeLog,v 1.6 2014/12/27 10:31:39 mgorny Exp $
+
+*pyzy-0.1.0-r1 (27 Dec 2014)
+
+ 27 Dec 2014; Michał Górny <mgorny@gentoo.org> +pyzy-0.1.0-r1.ebuild:
+ Convert to python-any-r1.
15 Nov 2014; Pacho Ramos <pacho@gentoo.org> pyzy-0.1.0.ebuild:
amd64/x86 stable, bug #517722
diff --git a/app-i18n/pyzy/Manifest b/app-i18n/pyzy/Manifest
index 17ce25b97c46..e70b86b8c6fc 100644
--- a/app-i18n/pyzy/Manifest
+++ b/app-i18n/pyzy/Manifest
@@ -4,13 +4,26 @@ Hash: SHA256
AUX pyzy-dont-download-dictionary-file.patch 581 SHA256 38eeacee8e5d33ca3bf0bec5060650c55fea19cce370252c0f5610bbc54ada97 SHA512 d27bfd031bb1eaf5b0e7e2ab9957eb4255a50a1724b9e3772c06a152bc75449415613d8467f74a989595769800955c77222e9bc22c18533f8244ee7227a2661d WHIRLPOOL ef25ac625e7c94c3528d77983f94304749e0067e630db807c3dee8e2bf2ca373db571de856c90665c7bbe974246f9a825be97226ef081ff422087ef7af79c0f6
DIST pyzy-0.1.0.tar.gz 1571946 SHA256 fe468a4372473d85a56f05d55b14f0e0201fde6f9336a1a2322cf79421c84d9a SHA512 42477152ffd6a2f7ce0e8f920d98e9dc9c7fc32fe9e93a2a4de75c791e70d0f08c30eca0244dc2b87981f6bfc4e635234d62720aa19358c8f80a84e0c371c662 WHIRLPOOL 8cba6d647ee9f4e4f3ee22922245fc9b67fab779ea4381793eece9171d6f0cb4d0f325cc2ac1c4ce7ff6f47d383f6c02d0b866dcfbdc841b6f84ee6dff6fe0fe
DIST pyzy-database-1.0.0.tar.bz2 9977983 SHA256 32c7d07b9f41e1dfc0f9008f54eca8e6cb367e7f2b19ac94c49754442694c321 SHA512 5a7248870407f7f92c418ada49a275062325f2eb33a7eb4b91492e4b706ae70ba931b04377a758ce429fa64cd22e8bee2ac4279d4f205bbce406248eda1decf7 WHIRLPOOL 07043adf9d83eb40b1a53409a31b3711f041e2b4dd5cf3f8c2034c129c31270fd37f2e53ecf2da5503562cf103ccb0a4487fa606928ac38a8775e90ff376ce3a
+EBUILD pyzy-0.1.0-r1.ebuild 1218 SHA256 f9d9fb71af63c416ae58d6bd6df91b4ed8382ec5b4356ba4706746802cd75374 SHA512 f903f320c613f07f3c503c0909500ee0afdde301a1d30b46ced70ae89b407a5224d5178c54890e009b2c72e63766070607a3462314472ea93c88f1bf25fab65e WHIRLPOOL 600653499eadc69565d9dc36595c93efac20ea34982f16912ff51dbf9786f9913e32831629a1420904ad0dae125fcea5103dbfbeb96d2a68af53f5f30d2c5955
EBUILD pyzy-0.1.0.ebuild 1224 SHA256 3393704725e515ba41abd48f98e2411896dcb8dbb4bf6c015debcd28be6be011 SHA512 b68365cf451cc8ad1c7953fb55bab2d46230c2c44704fb66097df4dda9489aa35aa3f81adb3307c6545fc621ca5cda8b693fdf10cafab0690f418cfb2e4dea38 WHIRLPOOL cb6c16559b06173d5df789974592fe4c38e92b02af1f6704f58914571387e7edd22aab9875f4ed2459c4a9f125d11fb3c7f01561fa1fa57833b08bdfbb0bbec4
-MISC ChangeLog 804 SHA256 183de0e25413a7af031810c3b8a0703c7fe891768142d8141b7187a48a1b05f0 SHA512 91a28fd62a30f82972980d72bd481cbf8221e74cef274174526ec999f5514998d0d87f201976c469087e83aac68c8be233573858eeaf9d59998b6c6992156e53 WHIRLPOOL 39963baacc765b472f6effa2918b75af228e1da9936a1eb9c6bbe7ece85e8221e8979a430361e6cf374df0d32286191bb3439af371c40c35d017b714d0326901
+MISC ChangeLog 937 SHA256 0c1f51c919dc783a14a6e162a7046a5d819ff6c0facaa6e33c99799dca34530f SHA512 0960b034d56aefa03360cd63a427fc37f58b354e829b2390e9bceafa58be31a26d37312ead750bff0818c67b9a65f29dfc309bdab3a0c532d39b5fd38e403f57 WHIRLPOOL 077a7ca2a627b8463179420c8a296e22547560688190c4e56171badba45157898486fbc7a965995960d8f243979c93286011ef58f0fce0afe32c5bbca727722d
MISC metadata.xml 463 SHA256 9b2e67cb0a37f298ab69f634dd989d944ce05859dcb1ca6028b6674a9871515d SHA512 498fb02ed1b7f336d67a443216e781b0311d1b7a276b0bb55e713d92addfef655e6283c56d9f748a1b530236eb543fe4e52bfe1750ed409cbb6cdc0846df4671 WHIRLPOOL 74b01836a2e1aef104ddc1f11e204d2653a9c7a52a127ae16146bf8bc94442a4785624d3e03d80ddd34ebad9489a5dc7657ff0d2c80943f8e0f9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pyzy-0.1.0-r1.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r1.ebuild
new file mode 100644
index 000000000000..a1a1e18ae3fc
--- /dev/null
+++ b/app-i18n/pyzy/pyzy-0.1.0-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/pyzy/pyzy-0.1.0-r1.ebuild,v 1.1 2014/12/27 10:31:39 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-any-r1 autotools
+
+PY_DATABASE=${PN}-database-1.0.0
+DESCRIPTION="The Chinese PinYin and Bopomofo conversion library"
+HOMEPAGE="https://github.com/pyzy"
+SRC_URI="https://pyzy.googlecode.com/files/${P}.tar.gz
+ https://pyzy.googlecode.com/files/${PY_DATABASE}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost doc opencc test"
+
+RDEPEND="dev-libs/glib:2
+ dev-db/sqlite:3
+ sys-apps/util-linux
+ boost? ( dev-libs/boost )
+ opencc? ( app-i18n/opencc )"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ doc? ( app-doc/doxygen )"
+
+# Currently it fails to build test code
+RESTRICT="test"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-dont-download-dictionary-file.patch
+ mv ../db ./data/db/open-phrase/ || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-db-open-phrase \
+ --enable-db-android \
+ $(use_enable boost) \
+ $(use_enable opencc) \
+ $(use_enable test tests)
+}
+
+src_install() {
+ default
+ use doc && dohtml -r docs/html/*
+}