Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ossp-uuid/
Date: Thu, 19 Oct 2017 19:33:17
Message-Id: 1508441584.13a78eef2c9fa5f9cdf6488f08eab7c2728b103a.grknight@gentoo
1 commit: 13a78eef2c9fa5f9cdf6488f08eab7c2728b103a
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 19 19:33:04 2017 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 19 19:33:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13a78eef
7
8 dev-libs/ossp-uuid: Drop old revisions
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 dev-libs/ossp-uuid/ossp-uuid-1.6.2-r2.ebuild | 97 ----------------------
13 dev-libs/ossp-uuid/ossp-uuid-1.6.2-r5.ebuild | 118 ---------------------------
14 2 files changed, 215 deletions(-)
15
16 diff --git a/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r2.ebuild b/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r2.ebuild
17 deleted file mode 100644
18 index a0982233473..00000000000
19 --- a/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r2.ebuild
20 +++ /dev/null
21 @@ -1,97 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI="4"
26 -
27 -PHP_EXT_NAME="uuid"
28 -PHP_EXT_INI="yes"
29 -PHP_EXT_ZENDEXT="no"
30 -USE_PHP="php5-4"
31 -
32 -MY_P="uuid-${PV}"
33 -PHP_EXT_S="${WORKDIR}/${MY_P}/php"
34 -PHP_EXT_OPTIONAL_USE="php"
35 -
36 -inherit eutils multilib php-ext-source-r2
37 -
38 -DESCRIPTION="An ISO-C:1999 API and corresponding CLI for the generation of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant UUID"
39 -HOMEPAGE="http://www.ossp.org/pkg/lib/uuid/"
40 -SRC_URI="ftp://ftp.ossp.org/pkg/lib/uuid/${MY_P}.tar.gz"
41 -
42 -LICENSE="ISC"
43 -SLOT="0"
44 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
45 -IUSE="+cxx perl php static-libs"
46 -
47 -DEPEND="perl? ( dev-lang/perl )"
48 -RDEPEND="${DEPEND}"
49 -
50 -S="${WORKDIR}/${MY_P}"
51 -
52 -src_prepare() {
53 -
54 - epatch \
55 - "${FILESDIR}/${P}-gentoo-r1.patch" \
56 - "${FILESDIR}/${P}-gentoo-perl.patch"
57 -
58 - if use php; then
59 - local slot
60 - for slot in $(php_get_slots); do
61 - php_init_slot_env ${slot}
62 - epatch \
63 - "${FILESDIR}/${P}-gentoo-php.patch" \
64 - "${FILESDIR}/${P}-php.patch"
65 - done
66 -
67 - php-ext-source-r2_src_prepare
68 - fi
69 -}
70 -
71 -src_configure() {
72 - # Notes:
73 - # * collides with e2fstools libs and includes if not moved around
74 - # * pgsql-bindings need PostgreSQL-sources and are included since PostgreSQL 8.3
75 - econf \
76 - --includedir="${EPREFIX}"/usr/include/ossp \
77 - --with-dce \
78 - --without-pgsql \
79 - --without-php \
80 - $(use_with cxx) \
81 - $(use_with perl) \
82 - $(use_enable static-libs static)
83 -
84 - if use php; then
85 - php-ext-source-r2_src_configure
86 - fi
87 -}
88 -
89 -src_compile() {
90 - default
91 -
92 - if use php; then
93 - php-ext-source-r2_src_compile
94 - fi
95 -}
96 -
97 -src_install() {
98 - DOCS="AUTHORS BINDINGS ChangeLog HISTORY NEWS OVERVIEW PORTING README SEEALSO THANKS TODO USERS"
99 - default
100 -
101 - if use php ; then
102 - php-ext-source-r2_src_install
103 - cd "${S}/php"
104 - insinto /usr/share/php
105 - newins uuid.php5 uuid.php
106 - fi
107 -
108 - use static-libs || rm -rf "${ED}"/usr/lib*/*.la
109 -
110 - mv "${ED}/usr/$(get_libdir)/pkgconfig"/{,ossp-}uuid.pc
111 - mv "${ED}/usr/share/man/man3"/uuid.3{,ossp}
112 - mv "${ED}/usr/share/man/man3"/uuid++.3{,ossp}
113 -}
114 -
115 -src_test() {
116 - export LD_LIBRARY_PATH="${S}/.libs" # required for the perl-bindings to load the (correct) library
117 - default
118 -}
119
120 diff --git a/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r5.ebuild b/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r5.ebuild
121 deleted file mode 100644
122 index a0da82f64f8..00000000000
123 --- a/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r5.ebuild
124 +++ /dev/null
125 @@ -1,118 +0,0 @@
126 -# Copyright 1999-2017 Gentoo Foundation
127 -# Distributed under the terms of the GNU General Public License v2
128 -
129 -EAPI="5"
130 -
131 -MY_P="uuid-${PV}"
132 -
133 -PHP_EXT_NAME="uuid"
134 -PHP_EXT_INI="yes"
135 -PHP_EXT_ZENDEXT="no"
136 -PHP_EXT_S="${WORKDIR}/${MY_P}/php"
137 -PHP_EXT_OPTIONAL_USE="php"
138 -USE_PHP="php5-6 php5-5"
139 -
140 -GENTOO_DEPEND_ON_PERL="no"
141 -
142 -inherit eutils multilib perl-module php-ext-source-r2
143 -
144 -DESCRIPTION="An ISO-C:1999 API and corresponding CLI for the generation of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant UUID"
145 -HOMEPAGE="http://www.ossp.org/pkg/lib/uuid/"
146 -SRC_URI="ftp://ftp.ossp.org/pkg/lib/uuid/${MY_P}.tar.gz"
147 -
148 -LICENSE="ISC"
149 -SLOT="0"
150 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
151 -IUSE="+cxx perl php static-libs"
152 -
153 -DEPEND="perl? ( dev-lang/perl:= )"
154 -RDEPEND="${DEPEND}"
155 -
156 -S="${WORKDIR}/${MY_P}"
157 -
158 -src_prepare() {
159 -
160 - epatch \
161 - "${FILESDIR}/${P}-gentoo-r1.patch" \
162 - "${FILESDIR}/${P}-gentoo-perl.patch" \
163 - "${FILESDIR}/${P}-hwaddr.patch" \
164 - "${FILESDIR}/${P}-manfix.patch" \
165 - "${FILESDIR}/${P}-uuid-preserve-m-option-status-in-v-option-handling.patch" \
166 - "${FILESDIR}/${P}-fix-whatis-entries.patch" \
167 - "${FILESDIR}/${P}-fix-data-uuid-from-string.patch"
168 -
169 - if use php; then
170 - local slot
171 - for slot in $(php_get_slots); do
172 - php_init_slot_env ${slot}
173 - epatch \
174 - "${FILESDIR}/${P}-gentoo-php.patch" \
175 - "${FILESDIR}/${P}-php.patch"
176 - done
177 -
178 - php-ext-source-r2_src_prepare
179 - fi
180 -}
181 -
182 -src_configure() {
183 - # Notes:
184 - # * collides with e2fstools libs and includes if not moved around
185 - # * pgsql-bindings need PostgreSQL-sources and are included since PostgreSQL 8.3
186 - econf \
187 - --includedir="${EPREFIX}"/usr/include/ossp \
188 - --with-dce \
189 - --without-pgsql \
190 - --without-perl \
191 - --without-php \
192 - $(use_with cxx) \
193 - $(use_enable static-libs static)
194 -
195 - if use php; then
196 - php-ext-source-r2_src_configure
197 - fi
198 -}
199 -
200 -src_compile() {
201 - default
202 -
203 - if use perl; then
204 - cd perl
205 - # configure needs the ossp-uuid.la generated by `make` in $S
206 - perl-module_src_configure
207 - perl-module_src_compile
208 - fi
209 -
210 - if use php; then
211 - php-ext-source-r2_src_compile
212 - fi
213 -}
214 -
215 -src_install() {
216 - DOCS="AUTHORS BINDINGS ChangeLog HISTORY NEWS OVERVIEW PORTING README SEEALSO THANKS TODO USERS"
217 - default
218 -
219 - if use perl ; then
220 - cd perl
221 - perl-module_src_install
222 - fi
223 -
224 - if use php ; then
225 - php-ext-source-r2_src_install
226 - cd "${S}/php"
227 - insinto /usr/share/php
228 - newins uuid.php5 uuid.php
229 - fi
230 -
231 - use static-libs || rm -rf "${ED}"/usr/lib*/*.la
232 -
233 - mv "${ED}/usr/$(get_libdir)/pkgconfig"/{,ossp-}uuid.pc
234 - mv "${ED}/usr/share/man/man3"/uuid.3{,ossp}
235 - mv "${ED}/usr/share/man/man3"/uuid++.3{,ossp}
236 -}
237 -
238 -src_test() {
239 - export LD_LIBRARY_PATH="${S}/.libs" # required for the perl-bindings to load the (correct) library
240 - default
241 -
242 - use perl && emake -C perl test
243 -}