Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/octetos-core/
Date: Fri, 01 May 2020 09:30:49
Message-Id: 1588325419.339d88a47c4dd7fc0adcbf333bafac6555118a82.andrewammerlaan@gentoo
1 commit: 339d88a47c4dd7fc0adcbf333bafac6555118a82
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Fri May 1 09:30:19 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Fri May 1 09:30:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=339d88a4
7
8 dev-libs/octetos-core: many fixes
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 .../octetos-core/octetos-core-1.2.2_beta.ebuild | 25 ++++++++++++++++------
14 .../octetos-core/octetos-core-2.0.0_beta.ebuild | 23 +++++++++++++++-----
15 .../octetos-core/octetos-core-2.2.0_beta.ebuild | 23 +++++++++++++++-----
16 3 files changed, 55 insertions(+), 16 deletions(-)
17
18 diff --git a/dev-libs/octetos-core/octetos-core-1.2.2_beta.ebuild b/dev-libs/octetos-core/octetos-core-1.2.2_beta.ebuild
19 index 02cfe7d..6b9289e 100644
20 --- a/dev-libs/octetos-core/octetos-core-1.2.2_beta.ebuild
21 +++ b/dev-libs/octetos-core/octetos-core-1.2.2_beta.ebuild
22 @@ -2,24 +2,37 @@
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26 -DESCRIPTION="C/C++ library to mainly provide Semantic Versioned inplmetation."
27 +
28 +inherit autotools
29 +
30 +DESCRIPTION="C/C++ library to mainly provide Semantic Versioned implementation"
31 HOMEPAGE="https://github.com/azaeldevel/octetos-core"
32 SRC_URI="https://github.com/azaeldevel/octetos-core/archive/1.2.2-br.tar.gz"
33 +
34 LICENSE="GPL-3"
35 SLOT="0"
36 KEYWORDS="~amd64"
37 +
38 IUSE=""
39 +
40 DEPEND=""
41 RDEPEND="${DEPEND}"
42 -BDEPEND="dev-util/cunit >=sys-devel/gcc-8.1 >=sys-devel/bison-3.1"
43 +BDEPEND="
44 + dev-util/cunit
45 + >=sys-devel/gcc-8.1
46 + >=sys-devel/bison-3.1
47 + dev-libs/libconfig
48 +"
49 +
50 src_unpack() {
51 - unpack ${A}
52 - ln -s octetos-core-1.2.2-br $P
53 - #echo "PWD:$PWD"
54 + default
55 + ln -s octetos-core-1.2.2-br "${P}"
56 }
57 +
58 src_configure() {
59 -autoreconf -fi
60 + eautoreconf -fi
61 }
62 +
63 src_compile() {
64 if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
65 emake || die "emake failed"
66
67 diff --git a/dev-libs/octetos-core/octetos-core-2.0.0_beta.ebuild b/dev-libs/octetos-core/octetos-core-2.0.0_beta.ebuild
68 index 74fa4d5..76c32d5 100644
69 --- a/dev-libs/octetos-core/octetos-core-2.0.0_beta.ebuild
70 +++ b/dev-libs/octetos-core/octetos-core-2.0.0_beta.ebuild
71 @@ -2,25 +2,38 @@
72 # Distributed under the terms of the GNU General Public License v2
73
74 EAPI=7
75 -DESCRIPTION="C/C++ library to mainly provide Semantic Versioned inplmetation."
76 +
77 +inherit autotools
78 +
79 +DESCRIPTION="C/C++ library to mainly provide Semantic Versioned implementation"
80 HOMEPAGE="https://github.com/azaeldevel/octetos-core"
81 SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.0.0-alpha.2.tar.gz"
82 +
83 LICENSE="GPL-3"
84 SLOT="0"
85 KEYWORDS="~amd64"
86 +
87 IUSE=""
88 +
89 DEPEND=""
90 RDEPEND="${DEPEND}"
91 -BDEPEND="dev-util/cunit >=sys-devel/gcc-8.1 >=sys-devel/bison-3.1"
92 +BDEPEND="
93 + dev-util/cunit
94 + >=sys-devel/gcc-8.1
95 + >=sys-devel/bison-3.1
96 + dev-libs/libconfig
97 +"
98
99 src_unpack() {
100 - unpack ${A}
101 - ln -s octetos-core-2.0.0-alpha.2 $P
102 + default
103 + ln -s octetos-core-2.0.0-alpha.2 "${P}"
104 }
105 +
106 src_prepare() {
107 - autoreconf -fi
108 + eautoreconf -fi
109 eapply_user
110 }
111 +
112 src_configure() {
113 if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
114 econf
115
116 diff --git a/dev-libs/octetos-core/octetos-core-2.2.0_beta.ebuild b/dev-libs/octetos-core/octetos-core-2.2.0_beta.ebuild
117 index 3cd840d..380bac2 100644
118 --- a/dev-libs/octetos-core/octetos-core-2.2.0_beta.ebuild
119 +++ b/dev-libs/octetos-core/octetos-core-2.2.0_beta.ebuild
120 @@ -2,30 +2,43 @@
121 # Distributed under the terms of the GNU General Public License v2
122
123 EAPI=7
124 -DESCRIPTION="C/C++ library to mainly provide Semantic Versioned inplmetation."
125 +
126 +inherit autotools
127 +
128 +DESCRIPTION="C/C++ library to mainly provide Semantic Versioned implementation"
129 HOMEPAGE="https://github.com/azaeldevel/octetos-core"
130 SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.2.0-beta.3.tar.gz"
131 +
132 LICENSE="GPL-3"
133 SLOT="0"
134 KEYWORDS="~amd64"
135 +
136 IUSE=""
137 +
138 DEPEND=""
139 RDEPEND="${DEPEND}"
140 -BDEPEND=">=sys-devel/gcc-8.1 >=sys-devel/bison-3.1"
141 +BDEPEND="
142 + >=sys-devel/gcc-8.1
143 + >=sys-devel/bison-3.1
144 + dev-libs/libconfig
145 +"
146
147 src_unpack() {
148 - unpack ${A}
149 - ln -s octetos-core-2.2.0-beta.3 $P
150 + default
151 + ln -s octetos-core-2.2.0-beta.3 "${P}"
152 }
153 +
154 src_prepare() {
155 - autoreconf -fi
156 + eautoreconf -fi
157 eapply_user
158 }
159 +
160 src_configure() {
161 if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
162 econf
163 fi
164 }
165 +
166 src_compile() {
167 if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
168 emake || die "emake failed"