public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/opencc/
Date: Tue, 22 Aug 2017 14:21:14 +0000 (UTC)	[thread overview]
Message-ID: <1503411614.d98aef2054800e6990ae49e817579eb50ddd08d2.floppym@gentoo> (raw)

commit:     d98aef2054800e6990ae49e817579eb50ddd08d2
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Tue Aug 22 10:52:41 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 14:20:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98aef20

app-i18n/opencc: Add live ebuild.

 app-i18n/opencc/opencc-1.0.5.ebuild                    | 16 +++++++++++++++-
 .../opencc/{opencc-1.0.5.ebuild => opencc-9999.ebuild} | 18 ++++++++++++++++--
 2 files changed, 31 insertions(+), 3 deletions(-)

diff --git a/app-i18n/opencc/opencc-1.0.5.ebuild b/app-i18n/opencc/opencc-1.0.5.ebuild
index 3e9033333de..50bab76e2c0 100644
--- a/app-i18n/opencc/opencc-1.0.5.ebuild
+++ b/app-i18n/opencc/opencc-1.0.5.ebuild
@@ -5,9 +5,19 @@ EAPI="6"
 
 inherit cmake-utils
 
+if [[ "${PV}" == "9999" ]]; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/BYVoid/OpenCC"
+fi
+
 DESCRIPTION="Project for conversion between Traditional and Simplified Chinese"
 HOMEPAGE="https://github.com/BYVoid/OpenCC"
-SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.gz"
+if [[ "${PV}" == "9999" ]]; then
+	SRC_URI=""
+else
+	SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.gz"
+fi
 
 LICENSE="Apache-2.0"
 SLOT="0/2"
@@ -17,6 +27,10 @@ IUSE="doc"
 DEPEND="doc? ( app-doc/doxygen )"
 RDEPEND=""
 
+if [[ "${PV}" != "9999" ]]; then
+	S="${WORKDIR}/OpenCC-ver.${PV}"
+fi
+
 DOCS=(AUTHORS NEWS.md README.md)
 
 src_configure() {

diff --git a/app-i18n/opencc/opencc-1.0.5.ebuild b/app-i18n/opencc/opencc-9999.ebuild
similarity index 69%
copy from app-i18n/opencc/opencc-1.0.5.ebuild
copy to app-i18n/opencc/opencc-9999.ebuild
index 3e9033333de..8664a59261c 100644
--- a/app-i18n/opencc/opencc-1.0.5.ebuild
+++ b/app-i18n/opencc/opencc-9999.ebuild
@@ -5,18 +5,32 @@ EAPI="6"
 
 inherit cmake-utils
 
+if [[ "${PV}" == "9999" ]]; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/BYVoid/OpenCC"
+fi
+
 DESCRIPTION="Project for conversion between Traditional and Simplified Chinese"
 HOMEPAGE="https://github.com/BYVoid/OpenCC"
-SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.gz"
+if [[ "${PV}" == "9999" ]]; then
+	SRC_URI=""
+else
+	SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.gz"
+fi
 
 LICENSE="Apache-2.0"
 SLOT="0/2"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS=""
 IUSE="doc"
 
 DEPEND="doc? ( app-doc/doxygen )"
 RDEPEND=""
 
+if [[ "${PV}" != "9999" ]]; then
+	S="${WORKDIR}/OpenCC-ver.${PV}"
+fi
+
 DOCS=(AUTHORS NEWS.md README.md)
 
 src_configure() {


             reply	other threads:[~2017-08-22 14:21 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 14:21 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-14 10:42 [gentoo-commits] repo/gentoo:master commit in: app-i18n/opencc/ Sam James
2025-02-08  1:15 Yixun Lan
2025-02-08  1:15 Yixun Lan
2025-01-05 12:15 WANG Xuerui
2024-12-09 20:16 Sam James
2024-12-09 20:04 Arthur Zamarin
2024-12-09  7:35 Arthur Zamarin
2024-12-09  7:20 Arthur Zamarin
2024-12-09  7:03 Arthur Zamarin
2024-08-27 15:16 Yixun Lan
2024-07-05 10:37 Arthur Zamarin
2024-07-05 10:37 Arthur Zamarin
2023-03-17 13:18 Yixun Lan
2022-08-12 14:27 Sam James
2022-08-03  7:49 Agostino Sarubbo
2022-08-02 19:54 Arthur Zamarin
2022-08-02 16:01 Arthur Zamarin
2022-08-02 16:01 Arthur Zamarin
2022-08-02 16:01 Arthur Zamarin
2022-07-07 13:59 Yixun Lan
2022-06-13 21:30 Jakov Smolić
2022-06-10  6:48 Agostino Sarubbo
2022-06-09  7:37 Agostino Sarubbo
2022-06-09  7:37 Agostino Sarubbo
2022-06-09  7:36 Agostino Sarubbo
2022-06-08 20:04 Arthur Zamarin
2022-05-19  5:08 WANG Xuerui
2022-05-17 12:38 Agostino Sarubbo
2022-03-09  8:59 Jakov Smolić
2022-01-31 20:26 Arthur Zamarin
2022-01-31 18:51 Sam James
2022-01-31  6:24 Sam James
2022-01-30 22:25 Sam James
2022-01-30 22:25 Sam James
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2022-01-14 11:36 Arthur Zamarin
2021-09-06 21:34 Sam James
2021-09-06 21:34 Sam James
2021-07-27 21:54 Marek Szuba
2021-06-08  7:41 Sam James
2021-03-26 14:38 Mike Gilbert
2021-03-26 14:38 Mike Gilbert
2021-03-26 14:38 Mike Gilbert
2021-03-26 14:38 Mike Gilbert
2020-12-31  1:47 Sam James
2020-12-27 18:39 Mike Gilbert
2020-12-27 18:39 Mike Gilbert
2020-12-27 18:39 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-02-08 12:50 Sergei Trofimovich
2019-12-31 18:08 Aaron Bauman
2019-08-30 18:39 Sergei Trofimovich
2019-08-18  3:06 Aaron Bauman
2017-10-05  9:04 Sergei Trofimovich
2017-09-24 12:29 Sergei Trofimovich
2017-09-24 11:00 Sergei Trofimovich
2017-08-31 19:53 Mike Gilbert
2017-08-23 14:25 Akinori Hattori
2017-08-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-02-15 22:04 Yixun Lan
2017-02-03 21:49 Johannes Huber
2017-02-03 20:08 Jeroen Roovers
2017-02-03 20:05 Jeroen Roovers
2017-01-29 13:55 Agostino Sarubbo
2016-05-27 10:22 Yixun Lan
2015-09-01 18:52 Tobias Klausmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1503411614.d98aef2054800e6990ae49e817579eb50ddd08d2.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox