commit:     31b5b509e653c1d5b9611402482943b1208b8362
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 21 18:27:29 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 18:27:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b5b509

dev-lang/micropython: drop 1.17, EAPI=7--

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-lang/micropython/Manifest                |  1 -
 dev-lang/micropython/micropython-1.17.ebuild | 66 ----------------------------
 2 files changed, 67 deletions(-)

diff --git a/dev-lang/micropython/Manifest b/dev-lang/micropython/Manifest
index 16e444cbe41a..7f6857c39611 100644
--- a/dev-lang/micropython/Manifest
+++ b/dev-lang/micropython/Manifest
@@ -1,2 +1 @@
-DIST micropython-1.17.tar.xz 56606868 BLAKE2B 
a6338d173de646764c1573ebabdb9818746a479fd2dd618f9be9955881e3829c4d89da4602934e71655734ec1c6f2150a6ac2c54a5fed9bee998905a00d5c6ea
 SHA512 
8074214040e35ae1ca99721ec442f4cef70fa03380b7662016c55cb3acff9178fc54140c0d818c9581389b4daaade142ecf75b65a2919c666a50255423a39a54
 DIST micropython-1.23.0.tar.xz 85748224 BLAKE2B 
3fca138bbe9a676c671812625ac374e82c3c91bb41db32557747ea4d28941de92be80bbf2e642f9094427dbcf6ee285c63ddad66510287074edb716017599384
 SHA512 
16f065bbbed1469587597193e7131ed9278ca2b22c8614098b5c79060f853db2a5a38ffe85688126cee86a5cb110d74840f50be4b009a687d7d310b54de2b2b5

diff --git a/dev-lang/micropython/micropython-1.17.ebuild 
b/dev-lang/micropython/micropython-1.17.ebuild
deleted file mode 100644
index 16620cf90890..000000000000
--- a/dev-lang/micropython/micropython-1.17.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Python implementation for microcontrollers"
-HOMEPAGE="https://github.com/micropython/micropython";
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz";
-
-KEYWORDS="~amd64 ~arm64 ~x86"
-LICENSE="MIT"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-       dev-libs/libffi:=
-       virtual/pkgconfig"
-
-PATCHES=(
-       "${FILESDIR}/${P}-prevent-stripping.patch"
-       "${FILESDIR}/${P}-exclude-float-parse-tests.patch"
-       "${FILESDIR}/${P}-gcc13-build-fix.patch"
-)
-
-src_prepare() {
-       default
-
-       cd ports/unix || die
-
-       # 1) don't die on compiler warning
-       # 2) remove /usr/local prefix references in favour of /usr
-       # 3) enforce our CFLAGS
-       # 4) enforce our LDFLAGS
-       sed -e 's#-Werror##g;' \
-               -e 's#\/usr\/local#\/usr#g;' \
-               -e "s#^CFLAGS = \(.*\)#CFLAGS = \1 ${CFLAGS}#g" \
-               -e "s#^LDFLAGS = \(.*\)#LDFLAGS = \1 ${LDFLAGS}#g" \
-               -i Makefile || die "can't patch Makefile"
-}
-
-src_compile() {
-       cd ports/unix || die
-
-       emake CC="$(tc-getCC)" axtls
-       emake CC="$(tc-getCC)"
-}
-
-src_test() {
-       cd ports/unix || die
-       emake CC="$(tc-getCC)" test
-}
-
-src_install() {
-       pushd ports/unix > /dev/null || die
-       emake CC="$(tc-getCC)" DESTDIR="${D}" install
-       popd > /dev/null || die
-
-       # remove .git files
-       find tools -type f -name '.git*' -exec rm {} \; || die
-
-       dodoc -r tools
-       einstalldocs
-}

Reply via email to