public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2016-10-09  7:56 Pacho Ramos
  0 siblings, 0 replies; 15+ messages in thread
From: Pacho Ramos @ 2016-10-09  7:56 UTC (permalink / raw
  To: gentoo-commits

commit:     85e636b061134891ade0fb898540a4a0aab681cf
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  9 07:53:53 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct  9 07:55:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85e636b0

app-i18n/pyzy: Drop old

Package-Manager: portage-2.3.1

 app-i18n/pyzy/pyzy-0.1.0-r1.ebuild | 52 --------------------------------------
 1 file changed, 52 deletions(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r1.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r1.ebuild
deleted file mode 100644
index 20d04d2..00000000
--- a/app-i18n/pyzy/pyzy-0.1.0-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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/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/*
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2016-10-16 10:04 Pacho Ramos
  0 siblings, 0 replies; 15+ messages in thread
From: Pacho Ramos @ 2016-10-16 10:04 UTC (permalink / raw
  To: gentoo-commits

commit:     af154378d3698f34de189d065d49417798297c5b
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 10:02:35 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 16 10:02:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af154378

app-i18n/pyzy: x86 stable, bug #593192

Package-Manager: portage-2.3.1

 app-i18n/pyzy/pyzy-0.1.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
index 6f53500..2a185b7 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://pyzy.googlecode.com/files/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="boost doc opencc test"
 
 RDEPEND="dev-libs/glib:2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2016-10-16 10:04 Pacho Ramos
  0 siblings, 0 replies; 15+ messages in thread
From: Pacho Ramos @ 2016-10-16 10:04 UTC (permalink / raw
  To: gentoo-commits

commit:     24f9f1533826c860b17df471092dca7b8d183b9f
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 10:02:52 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 16 10:02:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f9f153

app-i18n/pyzy: Drop old

Package-Manager: portage-2.3.1

 app-i18n/pyzy/pyzy-0.1.0.ebuild | 51 -----------------------------------------
 1 file changed, 51 deletions(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0.ebuild b/app-i18n/pyzy/pyzy-0.1.0.ebuild
deleted file mode 100644
index daf9fdc..00000000
--- a/app-i18n/pyzy/pyzy-0.1.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils python autotools
-
-PY_DATABASE=${PN}-database-1.0.0
-DESCRIPTION="The Chinese PinYin and Bopomofo conversion library"
-HOMEPAGE="https://github.com/pyzy/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}
-	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
-	python_convert_shebangs 2 "${S}"/data/db/android/create_db.py
-	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/*
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2017-08-23 14:49 Akinori Hattori
  0 siblings, 0 replies; 15+ messages in thread
From: Akinori Hattori @ 2017-08-23 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     d237cc0ee5a535e41a205debbd313787a6268917
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 14:41:59 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 14:49:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d237cc0e

app-i18n/pyzy: update to EAPI 6

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/pyzy/metadata.xml         |  4 ++--
 app-i18n/pyzy/pyzy-0.1.0-r2.ebuild | 41 +++++++++++++++++++++-----------------
 2 files changed, 25 insertions(+), 20 deletions(-)

diff --git a/app-i18n/pyzy/metadata.xml b/app-i18n/pyzy/metadata.xml
index cba74e837b8..f6afd400fc2 100644
--- a/app-i18n/pyzy/metadata.xml
+++ b/app-i18n/pyzy/metadata.xml
@@ -11,8 +11,8 @@
   </maintainer>
   <use>
     <flag name="boost">Enable support for <pkg>dev-libs/boost</pkg></flag>
-    <flag name="doc">Enable support for documents</flag>
-    <flag name="opencc">Use <pkg>app-i18n/opencc</pkg> for input</flag>
+    <flag name="doc">Generate API documentation</flag>
+    <flag name="opencc">Enable support for <pkg>app-i18n/opencc</pkg></flag>
   </use>
   <upstream>
     <remote-id type="github">pyzy/pyzy</remote-id>

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
index 982a943fe1c..d164deb9a37 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
@@ -1,53 +1,58 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
+EAPI="6"
 PYTHON_COMPAT=( python2_7 )
-inherit eutils python-any-r1 autotools
 
-PY_DATABASE=${PN}-database-1.0.0
+inherit autotools python-any-r1
+
+PYZY_DB="${PN}-database-1.0.0"
+
 DESCRIPTION="The Chinese PinYin and Bopomofo conversion library"
 HOMEPAGE="https://github.com/pyzy/pyzy"
 SRC_URI="https://pyzy.googlecode.com/files/${P}.tar.gz
-	https://pyzy.googlecode.com/files/${PY_DATABASE}.tar.bz2"
+	https://pyzy.googlecode.com/files/${PYZY_DB}.tar.bz2"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="boost doc opencc test"
+# Currently it fails to build test code
+RESTRICT="test"
 
-RDEPEND="dev-libs/glib:2
-	dev-db/sqlite:3
+RDEPEND="dev-db/sqlite:3
+	dev-libs/glib:2
 	sys-apps/util-linux
 	boost? ( dev-libs/boost )
-	opencc? ( app-i18n/opencc )"
-
+	opencc? ( app-i18n/opencc:= )"
 DEPEND="${RDEPEND}
 	${PYTHON_DEPS}
 	doc? ( app-doc/doxygen )"
 
-# Currently it fails to build test code
-RESTRICT="test"
+PATCHES=(
+	"${FILESDIR}"/${PN}-db.patch
+	"${FILESDIR}"/${PN}-opencc-1.0.0.patch
+)
 
 src_prepare() {
-	epatch "${FILESDIR}"/${PN}-db.patch
-	epatch "${FILESDIR}"/${PN}-opencc-1.0.0.patch
+	mv "${WORKDIR}"/db data/db/open-phrase || die
 
-	mv ../db ./data/db/open-phrase/ || die
+	default
 	eautoreconf
 }
 
 src_configure() {
 	econf \
-		--enable-db-open-phrase \
-		--enable-db-android \
 		$(use_enable boost) \
 		$(use_enable opencc) \
-		$(use_enable test tests)
+		$(use_enable test tests) \
+		--enable-db-open-phrase
 }
 
 src_install() {
+	if use doc; then
+		HTML_DOCS=( docs/html/. )
+	fi
+
 	default
-	use doc && dohtml -r docs/html/*
 }


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2017-08-23 14:49 Akinori Hattori
  0 siblings, 0 replies; 15+ messages in thread
From: Akinori Hattori @ 2017-08-23 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     3f14fc22b7714093323bed5de6194e5314fefc0e
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 14:42:21 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 14:49:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f14fc22

app-i18n/pyzy: drop test USE flag

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/pyzy/pyzy-0.1.0-r2.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
index d164deb9a37..b14079d6598 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
@@ -16,9 +16,7 @@ SRC_URI="https://pyzy.googlecode.com/files/${P}.tar.gz
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="boost doc opencc test"
-# Currently it fails to build test code
-RESTRICT="test"
+IUSE="boost doc opencc"
 
 RDEPEND="dev-db/sqlite:3
 	dev-libs/glib:2
@@ -45,7 +43,6 @@ src_configure() {
 	econf \
 		$(use_enable boost) \
 		$(use_enable opencc) \
-		$(use_enable test tests) \
 		--enable-db-open-phrase
 }
 


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2017-08-23 14:49 Akinori Hattori
  0 siblings, 0 replies; 15+ messages in thread
From: Akinori Hattori @ 2017-08-23 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     de88a7d320ac75e6900968835310a5413f4b62df
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 14:43:58 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 14:49:33 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de88a7d3

app-i18n/pyzy: update SRC_URI

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/pyzy/pyzy-0.1.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
index 23fe6deec28..6ad508a8b2f 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
@@ -10,8 +10,8 @@ PYZY_DB="${PN}-database-1.0.0"
 
 DESCRIPTION="The Chinese PinYin and Bopomofo conversion library"
 HOMEPAGE="https://github.com/pyzy/pyzy"
-SRC_URI="https://pyzy.googlecode.com/files/${P}.tar.gz
-	https://pyzy.googlecode.com/files/${PYZY_DB}.tar.bz2"
+SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.tar.gz
+	https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${PYZY_DB}.tar.bz2"
 
 LICENSE="LGPL-2.1"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2017-08-23 14:49 Akinori Hattori
  0 siblings, 0 replies; 15+ messages in thread
From: Akinori Hattori @ 2017-08-23 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     3d8a9660f43c78b5d558b037ab59a945790e3dba
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 14:42:43 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 14:49:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8a9660

app-i18n/pyzy: fix build with USE=doc

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/pyzy/pyzy-0.1.0-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
index b14079d6598..23fe6deec28 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
@@ -43,7 +43,8 @@ src_configure() {
 	econf \
 		$(use_enable boost) \
 		$(use_enable opencc) \
-		--enable-db-open-phrase
+		--enable-db-open-phrase \
+		DOXYGEN=$(usex doc doxygen true)
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2017-08-23 14:49 Akinori Hattori
  0 siblings, 0 replies; 15+ messages in thread
From: Akinori Hattori @ 2017-08-23 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     6d099de8f4589cf78b8b2548d76ac3d08266d6af
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 14:46:37 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 14:49:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d099de8

app-i18n/pyzy: inherit ltprune

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/pyzy/pyzy-0.1.0-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
index 980f4f596c0..2c736e2414a 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 
-inherit autotools python-any-r1
+inherit autotools ltprune python-any-r1
 
 PYZY_DB="${PN}-database-1.0.0"
 
@@ -55,4 +55,5 @@ src_install() {
 	fi
 
 	default
+	prune_libtool_files
 }


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2020-09-02  4:21 Yixun Lan
  0 siblings, 0 replies; 15+ messages in thread
From: Yixun Lan @ 2020-09-02  4:21 UTC (permalink / raw
  To: gentoo-commits

commit:     176439da32d696dc88e2df887bcc9bf7f1b92c28
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 04:20:58 2020 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 04:21:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=176439da

app-i18n/pyzy: add python3 support

Closes: https://bugs.gentoo.org/695008
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-i18n/pyzy/Manifest             |  2 ++
 app-i18n/pyzy/pyzy-0.1.0-r3.ebuild | 56 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/app-i18n/pyzy/Manifest b/app-i18n/pyzy/Manifest
index 70408887a48..2e896413356 100644
--- a/app-i18n/pyzy/Manifest
+++ b/app-i18n/pyzy/Manifest
@@ -1,2 +1,4 @@
+DIST pyzy-0.1.0-patches.tar.xz 5288 BLAKE2B 9a6c86aeedd496ae8372bb0640cb1e03386408a0b00a4c51a6223c4fba23f59631267eb0b7c707a11662025ded410609d17ba39327e0ca5011f48bea3422cd79 SHA512 3a3b9fc317f1c5f59bbe83f3ce58fc76a50bcee798118d66571ba31d504e73fbe7a6976f03ae28f9712c0ba641386ac69390a86185464371728782a62b98291f
 DIST pyzy-0.1.0.tar.gz 1571946 BLAKE2B 2a09dab87ddc9ca9a1e2c7b71dd66fb8d75a9a0932fd87d94392e64bc6a940ce8d3d89ed09f9b3ae0da1a76275ec580033c745c7cfb85724be1f7732cb52d3b9 SHA512 42477152ffd6a2f7ce0e8f920d98e9dc9c7fc32fe9e93a2a4de75c791e70d0f08c30eca0244dc2b87981f6bfc4e635234d62720aa19358c8f80a84e0c371c662
+DIST pyzy-0.1.0.tar.xz 752248 BLAKE2B 5f927cfea31f8cd67cb3e7af9b48c6f48a7707e8324b6b211c3baea0e07683df1da3c8683a5f9aa5073277229ee4d712174f95a764b4dcc5dc5f40330791561e SHA512 18d78bc70229caad44fdba4b7971014979da0aeb35841cea9577d05e5eca871dfe40d285a926ac05a247c8a0b8ab34fd721dcd34517200c5cc75b6b1ed545b35
 DIST pyzy-database-1.0.0.tar.bz2 9977983 BLAKE2B 86f9ee48d584f33ada1ee5380efdaefd85750290caada320c4c9a21206b8fb50fe6a43b931fb41a8c3bc24853bb7843e23d1778b40e6eae68fa4ec383f2b4dcc SHA512 5a7248870407f7f92c418ada49a275062325f2eb33a7eb4b91492e4b706ae70ba931b04377a758ce429fa64cd22e8bee2ac4279d4f205bbce406248eda1decf7

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
new file mode 100644
index 00000000000..d73898c2b19
--- /dev/null
+++ b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit autotools python-any-r1
+
+PYZY_DB="${PN}-database-1.0.0"
+
+DESCRIPTION="The Chinese PinYin and Bopomofo conversion library"
+HOMEPAGE="https://github.com/pyzy/pyzy"
+SRC_URI="https://dev.gentoo.org/~dlan/distfiles/${P}.tar.xz
+	https://dev.gentoo.org/~dlan/distfiles/${P}-patches.tar.xz
+	https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${PYZY_DB}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost doc opencc"
+
+RDEPEND="dev-db/sqlite:3
+	dev-libs/glib:2
+	sys-apps/util-linux
+	boost? ( dev-libs/boost )
+	opencc? ( app-i18n/opencc:= )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	sys-devel/autoconf-archive
+	doc? ( app-doc/doxygen )"
+
+src_prepare() {
+	mv "${WORKDIR}"/db data/db/open-phrase || die
+
+	eapply "${WORKDIR}"/patches
+
+	default
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_enable boost) \
+		$(use_enable opencc) \
+		--enable-db-open-phrase \
+		DOXYGEN=$(usex doc doxygen true)
+}
+
+src_install() {
+	if use doc; then
+		HTML_DOCS=( docs/html/. )
+	fi
+
+	default
+	find "${ED}" -name '*.la' -delete || die
+}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2020-09-05 16:17 Thomas Deutschmann
  0 siblings, 0 replies; 15+ messages in thread
From: Thomas Deutschmann @ 2020-09-05 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     72ceb91637e238a646a2cad67aa3707889254484
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  5 16:15:31 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Sep  5 16:15:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ceb916

app-i18n/pyzy: x86 stable (bug #695008)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 app-i18n/pyzy/pyzy-0.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
index d73898c2b19..d384e124ba4 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://dev.gentoo.org/~dlan/distfiles/${P}.tar.xz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="boost doc opencc"
 
 RDEPEND="dev-db/sqlite:3


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2020-09-09  6:29 Yixun Lan
  0 siblings, 0 replies; 15+ messages in thread
From: Yixun Lan @ 2020-09-09  6:29 UTC (permalink / raw
  To: gentoo-commits

commit:     7724a77e2f7ccb32fb8c668648849f388c4972ca
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  9 06:24:39 2020 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Sep  9 06:24:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7724a77e

app-i18n/pyzy: amd64 stable

Closes: https://bugs.gentoo.org/695008
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-i18n/pyzy/pyzy-0.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
index d384e124ba4..986a3e9bb94 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://dev.gentoo.org/~dlan/distfiles/${P}.tar.xz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="boost doc opencc"
 
 RDEPEND="dev-db/sqlite:3


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2021-04-12  1:09 Sam James
  0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2021-04-12  1:09 UTC (permalink / raw
  To: gentoo-commits

commit:     0f15e42212ce01528eca6ee0969c33923699e15a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 12 00:13:43 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 12 01:07:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f15e422

app-i18n/pyzy: move sys-devel/autoconf-archive to BDEPEND

Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-i18n/pyzy/pyzy-0.1.0-r3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
index 986a3e9bb94..6bd7a06a009 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -24,7 +24,8 @@ RDEPEND="dev-db/sqlite:3
 	sys-apps/util-linux
 	boost? ( dev-libs/boost )
 	opencc? ( app-i18n/opencc:= )"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
 	${PYTHON_DEPS}
 	sys-devel/autoconf-archive
 	doc? ( app-doc/doxygen )"


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2022-06-23 15:11 Yixun Lan
  0 siblings, 0 replies; 15+ messages in thread
From: Yixun Lan @ 2022-06-23 15:11 UTC (permalink / raw
  To: gentoo-commits

commit:     f2131df21fec3e7af1f4a9c52e1d88aa9b91e0f1
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 23 15:09:04 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 15:11:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2131df2

app-i18n/pyzy: enable py3.10 and drop py3.7

Closes: https://bugs.gentoo.org/845471
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-i18n/pyzy/pyzy-0.1.0-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
index 6bd7a06a0091..4944ecf856d5 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit autotools python-any-r1
 


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2023-03-17 13:18 Yixun Lan
  0 siblings, 0 replies; 15+ messages in thread
From: Yixun Lan @ 2023-03-17 13:18 UTC (permalink / raw
  To: gentoo-commits

commit:     796f31a7a35aa7a68296ccf6845346e6c0accbf9
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 11:47:03 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 13:17:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=796f31a7

app-i18n/pyzy: enable py3.11

Closes: https://bugs.gentoo.org/896564
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-i18n/pyzy/pyzy-0.1.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
index bdcf77c9e239..69d5e704ce42 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit autotools python-any-r1
 


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/
@ 2024-07-29 10:42 Pacho Ramos
  0 siblings, 0 replies; 15+ messages in thread
From: Pacho Ramos @ 2024-07-29 10:42 UTC (permalink / raw
  To: gentoo-commits

commit:     b8919e7305069b462a0605827ee580963110ea87
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 10:11:55 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 10:41:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8919e73

app-i18n/pyzy: Support python 3.12

Closes: https://bugs.gentoo.org/929326
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 app-i18n/pyzy/pyzy-0.1.0-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
index 95bc5ece8e26..8d647959855d 100644
--- a/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
+++ b/app-i18n/pyzy/pyzy-0.1.0-r3.ebuild
@@ -1,8 +1,8 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
-PYTHON_COMPAT=( python3_{10..11} )
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit autotools python-any-r1
 


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-07-29 10:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-23 14:49 [gentoo-commits] repo/gentoo:master commit in: app-i18n/pyzy/ Akinori Hattori
  -- strict thread matches above, loose matches on Subject: below --
2024-07-29 10:42 Pacho Ramos
2023-03-17 13:18 Yixun Lan
2022-06-23 15:11 Yixun Lan
2021-04-12  1:09 Sam James
2020-09-09  6:29 Yixun Lan
2020-09-05 16:17 Thomas Deutschmann
2020-09-02  4:21 Yixun Lan
2017-08-23 14:49 Akinori Hattori
2017-08-23 14:49 Akinori Hattori
2017-08-23 14:49 Akinori Hattori
2017-08-23 14:49 Akinori Hattori
2016-10-16 10:04 Pacho Ramos
2016-10-16 10:04 Pacho Ramos
2016-10-09  7:56 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox