public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: dev-util/uncrustify/
@ 2016-03-29  7:35 99% Fabian Groffen
  0 siblings, 0 replies; 1+ results
From: Fabian Groffen @ 2016-03-29  7:35 UTC (permalink / raw
  To: gentoo-commits

commit:     2cac81d1c5f6a7881a1e13e4c2ff50f00727cc0d
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 29 07:34:23 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Mar 29 07:35:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cac81d1

dev-util/uncrustify: fix live ebuild

Package-Manager: portage-2.2.28-prefix

 dev-util/uncrustify/uncrustify-0.62.ebuild | 14 ++++++++++----
 dev-util/uncrustify/uncrustify-9999.ebuild | 20 ++++++++++++++------
 2 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/dev-util/uncrustify/uncrustify-0.62.ebuild b/dev-util/uncrustify/uncrustify-0.62.ebuild
index c8a91bb..9de89d8 100644
--- a/dev-util/uncrustify/uncrustify-0.62.ebuild
+++ b/dev-util/uncrustify/uncrustify-0.62.ebuild
@@ -1,18 +1,19 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 if [[ $PV == *9999* ]]; then
 	EGIT_REPO_URI="git://github.com/uncrustify/uncrustify.git
 		https://github.com/uncrustify/uncrustify.git"
 	KEYWORDS=""
 	SRC_URI=""
-	inherit git-r3
+	inherit git-r3 autotools
 else
 	KEYWORDS="~amd64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
 	SRC_URI="https://github.com/uncrustify/${PN}/archive/${P}.tar.gz"
+	S=${WORKDIR}/uncrustify-${P}
 fi
 
 PYTHON_COMPAT=( python2_7 )
@@ -28,7 +29,12 @@ IUSE="test"
 
 DEPEND="test? ( ${PYTHON_DEPS} )"
 
-S=${WORKDIR}/uncrustify-${P}
+src_prepare() {
+	if [[ ${PV} == *9999* ]] ; then
+		eautoreconf
+	fi
+	default
+}
 
 python_test() {
 	cd tests

diff --git a/dev-util/uncrustify/uncrustify-9999.ebuild b/dev-util/uncrustify/uncrustify-9999.ebuild
index cf696e3..9de89d8 100644
--- a/dev-util/uncrustify/uncrustify-9999.ebuild
+++ b/dev-util/uncrustify/uncrustify-9999.ebuild
@@ -1,18 +1,19 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 if [[ $PV == *9999* ]]; then
-	EGIT_REPO_URI="git://github.com/bengardner/uncrustify.git
-		https://github.com/bengardner/uncrustify.git"
+	EGIT_REPO_URI="git://github.com/uncrustify/uncrustify.git
+		https://github.com/uncrustify/uncrustify.git"
 	KEYWORDS=""
 	SRC_URI=""
-	inherit git-r3
+	inherit git-r3 autotools
 else
 	KEYWORDS="~amd64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
-	SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+	SRC_URI="https://github.com/uncrustify/${PN}/archive/${P}.tar.gz"
+	S=${WORKDIR}/uncrustify-${P}
 fi
 
 PYTHON_COMPAT=( python2_7 )
@@ -28,6 +29,13 @@ IUSE="test"
 
 DEPEND="test? ( ${PYTHON_DEPS} )"
 
+src_prepare() {
+	if [[ ${PV} == *9999* ]] ; then
+		eautoreconf
+	fi
+	default
+}
+
 python_test() {
 	cd tests
 	${EPYTHON} run_tests.py || die "tests failed"


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-03-29  7:35 99% [gentoo-commits] repo/gentoo:master commit in: dev-util/uncrustify/ Fabian Groffen

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