Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510082 - Add sys-lib/uclibc-0.9.33.9999.ebuild to the tree
Summary: Add sys-lib/uclibc-0.9.33.9999.ebuild to the tree
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 17:00 UTC by Anthony Basile
Modified: 2014-10-21 01:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Basile gentoo-dev 2014-05-11 17:00:30 UTC
Since there hasn't been a release of uclibc since May 15, 2012 (nearly 2 years ago) and since the 0.9.33 branch has nearly 80 backported commits from master, it might be convenient to introduce sys-lib/uclibc-0.9.33.9999.ebuild which is identical to uclibc-9999.ebuild except that:

--- uclibc-9999.ebuild	2013-05-19 06:01:31.000000000 +0000
+++ uclibc-0.9.33.9999.ebuild	2014-05-11 12:52:15.719538372 +0000
@@ -4,6 +4,7 @@
 
 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig
 if [[ ${PV} == "9999" ]] ; then
+	EGIT_BRANCH="0.9.33"
 	EGIT_REPO_URI="git://git.busybox.net/uClibc"
 	inherit git-2
 fi



Reproducible: Always
Comment 1 Anthony Basile gentoo-dev 2014-05-11 17:03:50 UTC
(In reply to Anthony Basile from comment #0)
> Since there hasn't been a release of uclibc since May 15, 2012 (nearly 2
> years ago) and since the 0.9.33 branch has nearly 80 backported commits from
> master, it might be convenient to introduce
> sys-lib/uclibc-0.9.33.9999.ebuild which is identical to uclibc-9999.ebuild
> except that:
> 
> --- uclibc-9999.ebuild	2013-05-19 06:01:31.000000000 +0000
> +++ uclibc-0.9.33.9999.ebuild	2014-05-11 12:52:15.719538372 +0000
> @@ -4,6 +4,7 @@
>  
>  inherit eutils flag-o-matic multilib toolchain-funcs savedconfig
>  if [[ ${PV} == "9999" ]] ; then
> +	EGIT_BRANCH="0.9.33"
>  	EGIT_REPO_URI="git://git.busybox.net/uClibc"
>  	inherit git-2
>  fi
> 
> 
> 
> Reproducible: Always

Well not quite, you can get rid of the [[ ${PV} == "9999" ]] checks.
Comment 2 SpanKY gentoo-dev 2014-07-30 03:56:31 UTC
(In reply to Anthony Basile from comment #1)

we can adjust the 9999 check to use globs
  if [[ ${PV} == *9999 ]] ; then
Comment 3 Anthony Basile gentoo-dev 2014-10-21 01:16:53 UTC
I went ahead and added this with the following diff to -9999.  I tested and all appears to be good.


# diff -Naur uclibc-9999.ebuild uclibc-0.9.33.9999.ebuild
--- uclibc-9999.ebuild	2014-08-12 08:44:34.253016582 -0400
+++ uclibc-0.9.33.9999.ebuild	2014-10-20 21:15:17.000000000 -0400
@@ -1,9 +1,10 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-9999.ebuild,v 1.7 2014/08/12 06:47:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild,v 1.1 2014/10/21 01:15:17 blueness Exp $
 
 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_BRANCH="0.9.33"
 	EGIT_REPO_URI="git://git.busybox.net/uClibc"
 	inherit git-2
 fi
@@ -19,7 +20,7 @@
 MY_P=uClibc-${PV}
 DESCRIPTION="C library for developing embedded Linux systems"
 HOMEPAGE="http://www.uclibc.org/"
-if [[ ${PV} != "9999" ]] ; then
+if [[ ${PV} != *9999 ]] ; then
 	PATCH_VER=""
 	SRC_URI="http://uclibc.org/downloads/${MY_P}.tar.bz2
 		${PATCH_VER:+mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2}"
@@ -225,7 +226,7 @@
 }
 
 src_unpack() {
-	if [[ ${PV} == "9999" ]] ; then
+	if [[ ${PV} == *9999 ]] ; then
 		git-2_src_unpack
 	else
 		unpack ${A}