Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/
Date: Mon, 04 May 2020 09:45:58
Message-Id: 1588585490.68cf88680aa36d74c7287389ba14526488fc12dc.mgorny@gentoo
1 commit: 68cf88680aa36d74c7287389ba14526488fc12dc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 4 09:44:50 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 4 09:44:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68cf8868
7
8 dev-lang/micropython: Remove redundant
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-lang/micropython/Manifest | 2 -
13 dev-lang/micropython/micropython-1.9.3.ebuild | 55 --------------------------
14 dev-lang/micropython/micropython-1.9.4.ebuild | 57 ---------------------------
15 3 files changed, 114 deletions(-)
16
17 diff --git a/dev-lang/micropython/Manifest b/dev-lang/micropython/Manifest
18 index 688bf57b4ed..1ac72acd202 100644
19 --- a/dev-lang/micropython/Manifest
20 +++ b/dev-lang/micropython/Manifest
21 @@ -1,3 +1 @@
22 DIST micropython-1.11.tar.gz 23010708 BLAKE2B 8deb29f2a27b8299f62c8c3d332654889e610ddc6854dc38c6cf7504c89f2f9cbbacccdc2d8e471d96b8bb28bbb920fe7ec1b8fd49b14209924262f54687c3c1 SHA512 255860e56bf51c4f35a00cf66fff3ee37fbef1e0d674af6ed580367d8b3d2d60fb88609a675e8f322fd466a23006e38078b67edd6f306e639d6be12abb2972d2
23 -DIST micropython-1.9.3.tar.gz 17311734 BLAKE2B 31ebdedc402af53b205a854aa61b59c694cc893c7f80e4b84196c5d44527545f442628938b7dd923ed9086a79e00ff899682548115224613e888eb8a37dd5ae3 SHA512 1b4358913ed78df66314c9a62636c7b8d086c731459e3bee1fab8695286dc03b6ec7594b2f9b8105e2a6d62190d95c6ad5351fb64c666c1ea54b9535193ee8a8
24 -DIST micropython-1.9.4.tar.gz 18957648 BLAKE2B bc4dc4ef6623adbda64c9e03137860a7b9ce7d2d181434cb993438752ec39a4ea7cf7cf7a14736c57bdc2ea9c3f856b0dbe2d92fc0e1cbef99112427583ad665 SHA512 9995c983c93fb1280e60d7c52a10930a6a3de8d589a0f4264a9a4a4fede7c37e27ed4871c4c9092aec3fb33028064beb8c5eb19b7956e8f0c5d3b2a82ffa9932
25
26 diff --git a/dev-lang/micropython/micropython-1.9.3.ebuild b/dev-lang/micropython/micropython-1.9.3.ebuild
27 deleted file mode 100644
28 index e519fa6a445..00000000000
29 --- a/dev-lang/micropython/micropython-1.9.3.ebuild
30 +++ /dev/null
31 @@ -1,55 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit toolchain-funcs
38 -
39 -DESCRIPTION="Python implementation for microcontrollers"
40 -HOMEPAGE="https://github.com/micropython/micropython"
41 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
42 -
43 -KEYWORDS="~amd64 ~x86"
44 -LICENSE="MIT"
45 -SLOT="0"
46 -IUSE="test"
47 -RESTRICT="!test? ( test )"
48 -
49 -DEPEND="
50 - virtual/libffi
51 - virtual/pkgconfig"
52 -
53 -PATCHES=( "${FILESDIR}/${P}-prevent-stripping.patch" )
54 -
55 -src_compile() {
56 - cd ports/unix || die
57 -
58 - # 1) don't die on compiler warnings
59 - # 2) remove /usr/local prefix references in favour of /usr
60 - sed -i \
61 - -e 's#-Werror##g;' \
62 - -e 's#\/usr\/local#\/usr#g;' \
63 - Makefile || die
64 - emake CC="$(tc-getCC)" axtls
65 - emake CC="$(tc-getCC)"
66 -}
67 -
68 -src_test() {
69 - # XXX: find out why these tests fail
70 - rm -v tests/misc/recursive_iternext* || die
71 -
72 - cd ports/unix || die
73 - emake test
74 -}
75 -
76 -src_install() {
77 - pushd ports/unix > /dev/null || die
78 - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" DESTDIR="${D}" install
79 - popd > /dev/null || die
80 -
81 - # remove .git files
82 - find tools -type f -name '.git*' -exec rm {} \; || die
83 -
84 - dodoc -r tools
85 - einstalldocs
86 -}
87
88 diff --git a/dev-lang/micropython/micropython-1.9.4.ebuild b/dev-lang/micropython/micropython-1.9.4.ebuild
89 deleted file mode 100644
90 index 0b1864dde7f..00000000000
91 --- a/dev-lang/micropython/micropython-1.9.4.ebuild
92 +++ /dev/null
93 @@ -1,57 +0,0 @@
94 -# Copyright 1999-2019 Gentoo Authors
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI=6
98 -
99 -inherit toolchain-funcs
100 -
101 -DESCRIPTION="Python implementation for microcontrollers"
102 -HOMEPAGE="https://github.com/micropython/micropython"
103 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
104 -
105 -KEYWORDS="~amd64 ~x86"
106 -LICENSE="MIT"
107 -SLOT="0"
108 -IUSE="test"
109 -RESTRICT="!test? ( test )"
110 -
111 -DEPEND="
112 - virtual/libffi
113 - virtual/pkgconfig"
114 -
115 -PATCHES=( "${FILESDIR}/${P}-prevent-stripping.patch" )
116 -
117 -src_compile() {
118 - cd ports/unix || die
119 -
120 - # 1) don't die on compiler warnings
121 - # 2) remove /usr/local prefix references in favour of /usr
122 - sed -i \
123 - -e 's#-Werror##g;' \
124 - -e 's#\/usr\/local#\/usr#g;' \
125 - Makefile || die
126 - emake CC="$(tc-getCC)" axtls
127 - emake CC="$(tc-getCC)"
128 -}
129 -
130 -src_test() {
131 - # TODO: find out why these tests fail
132 - rm -v tests/stress/recursive_iternext* || die
133 -
134 - cd ports/unix || die
135 - emake test
136 -}
137 -
138 -src_install() {
139 - pushd ports/unix > /dev/null || die
140 - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" DESTDIR="${D}" install
141 - popd > /dev/null || die
142 -
143 - dobin "${S}/mpy-cross/mpy-cross"
144 -
145 - # remove .git files
146 - find tools -type f -name '.git*' -exec rm {} \; || die
147 -
148 - dodoc -r tools
149 - einstalldocs
150 -}