From 3383ebb997e410b7ce130f3939e554210dfcb859 Mon Sep 17 00:00:00 2001 From: Rafael Martins Date: Sun, 21 Feb 2016 16:10:45 +0100 Subject: app-text/blogc: version bump and minor ebuild fixes Package-Manager: portage-2.2.26 --- app-text/blogc/Manifest | 2 +- app-text/blogc/blogc-0.7.3.ebuild | 62 --------------------------------------- app-text/blogc/blogc-0.7.4.ebuild | 56 +++++++++++++++++++++++++++++++++++ app-text/blogc/blogc-9999.ebuild | 16 ++++------ 4 files changed, 62 insertions(+), 74 deletions(-) delete mode 100644 app-text/blogc/blogc-0.7.3.ebuild create mode 100644 app-text/blogc/blogc-0.7.4.ebuild (limited to 'app-text/blogc') diff --git a/app-text/blogc/Manifest b/app-text/blogc/Manifest index 99fd232cbed6..27bb9c033b73 100644 --- a/app-text/blogc/Manifest +++ b/app-text/blogc/Manifest @@ -1 +1 @@ -DIST blogc-0.7.3.tar.xz 265260 SHA256 100333ebb8faa63b5d1587ec7f41b3296a0544dc42c65c669fe9cb437d7afee5 SHA512 a1ff348b7acf129358b6a1e61a7a6bc908dd716bcf187c89d9ff371fc7b79add028a0cfc5892bea9e2c24ec38737eecb7f0d3292dc124b9fda230da34130dce0 WHIRLPOOL 7ac5b32d25907532510b1d2b82ef86efc753463e4f36925b5e54a920dcb66886d9a0a4403a40f24facd5ae2f6930713a2be60f03c1ad45518c7bd46f63bad167 +DIST blogc-0.7.4.tar.xz 265400 SHA256 4798f4a8eeed0f9f6644eb72dfd395423a18e7e83a99465bb3551b03d5b2b74a SHA512 426715507fdb5abd4f1a6a94221c507636b63a6ab1a9b5b1f8437f88137003685a8660dad9177c93d38cced1fed00b1f9cf902e9e5f5b034d27e78005a576273 WHIRLPOOL e030333710fac1485ad0ef24053cd6470e100cdf476f7e2f839f2c69e342f1e70e4c1fd7d9cd75286596d8bfca154a4b705e1ead1a5f95dad32c82bea4cf3cec diff --git a/app-text/blogc/blogc-0.7.3.ebuild b/app-text/blogc/blogc-0.7.3.ebuild deleted file mode 100644 index ecc0d6aecdcd..000000000000 --- a/app-text/blogc/blogc-0.7.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="git://github.com/blogc/blogc.git - https://github.com/blogc/blogc.git" - inherit git-r3 autotools -fi - -inherit eutils - -DESCRIPTION="A blog compiler" -HOMEPAGE="http://blogc.org/" - -MY_PV="${PV/_/-}" -MY_PV="${MY_PV/beta/beta.}" - -MY_P="${PN}-${MY_PV}" - -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.xz" -KEYWORDS="~amd64 ~x86" -if [[ ${PV} = *9999* ]]; then - SRC_URI="" - KEYWORDS="" - DEPEND="app-text/ronn" -else - S="${WORKDIR}/${MY_P}" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="test" - -RDEPEND="" - -# pkg-config is used only to find cmocka libraries -DEPEND="${DEPEND} - test? ( - virtual/pkgconfig - dev-util/cmocka )" - -src_prepare() { - [[ ${PV} = *9999* ]] && eautoreconf - epatch_user - default -} - -src_configure() { - local myconf="" - if [[ ${PV} = *9999* ]]; then - myconf+="--enable-ronn" - else - myconf+="--disable-ronn" - fi - econf \ - $(use_enable test tests) \ - --disable-valgrind \ - ${myconf} -} diff --git a/app-text/blogc/blogc-0.7.4.ebuild b/app-text/blogc/blogc-0.7.4.ebuild new file mode 100644 index 000000000000..7b4606390269 --- /dev/null +++ b/app-text/blogc/blogc-0.7.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI=" + git://github.com/blogc/blogc.git + https://github.com/blogc/blogc.git" + inherit git-r3 autotools +fi + +inherit eutils + +DESCRIPTION="A blog compiler" +HOMEPAGE="http://blogc.org/" + +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" +KEYWORDS="~amd64 ~x86" +if [[ ${PV} = *9999* ]]; then + SRC_URI="" + KEYWORDS="" + DEPEND="app-text/ronn" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="test" + +RDEPEND="" + +# pkg-config is used only to find cmocka libraries +DEPEND="${RDEPEND} + test? ( + virtual/pkgconfig + dev-util/cmocka )" + +src_prepare() { + [[ ${PV} = *9999* ]] && eautoreconf + epatch_user + default +} + +src_configure() { + local myconf="" + if [[ ${PV} = *9999* ]]; then + myconf+="--enable-ronn" + else + myconf+="--disable-ronn" + fi + econf \ + $(use_enable test tests) \ + --disable-valgrind \ + ${myconf} +} diff --git a/app-text/blogc/blogc-9999.ebuild b/app-text/blogc/blogc-9999.ebuild index ecc0d6aecdcd..7b4606390269 100644 --- a/app-text/blogc/blogc-9999.ebuild +++ b/app-text/blogc/blogc-9999.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="git://github.com/blogc/blogc.git + EGIT_REPO_URI=" + git://github.com/blogc/blogc.git https://github.com/blogc/blogc.git" inherit git-r3 autotools fi @@ -15,19 +16,12 @@ inherit eutils DESCRIPTION="A blog compiler" HOMEPAGE="http://blogc.org/" -MY_PV="${PV/_/-}" -MY_PV="${MY_PV/beta/beta.}" - -MY_P="${PN}-${MY_PV}" - -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.xz" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" KEYWORDS="~amd64 ~x86" if [[ ${PV} = *9999* ]]; then SRC_URI="" KEYWORDS="" DEPEND="app-text/ronn" -else - S="${WORKDIR}/${MY_P}" fi LICENSE="BSD" @@ -37,7 +31,7 @@ IUSE="test" RDEPEND="" # pkg-config is used only to find cmocka libraries -DEPEND="${DEPEND} +DEPEND="${RDEPEND} test? ( virtual/pkgconfig dev-util/cmocka )" -- cgit v1.2.3-65-gdbad