changeset 1304:77678629803f

python/python2: remove
author David Demelier <markand@malikania.fr>
date Thu, 11 Nov 2021 20:00:22 +0100
parents f133e0d95ecd
children d6172cfe210f
files python/python2/python2.sh python/python2/python2.sha1
diffstat 2 files changed, 0 insertions(+), 75 deletions(-) [+]
line wrap: on
line diff
--- a/python/python2/python2.sh	Thu Nov 11 19:59:52 2021 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2019-2021 David Demelier <markand@malikania.fr>
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-
-PKGNAME=python2
-PKGVERSION=2.7.18
-PKGREVISION=1
-PKGLICENSE="PSF-2.0"
-PKGSUMMARY="high-level scripting language"
-PKGDOWNLOAD="https://www.python.org/ftp/python/$PKGVERSION/Python-$PKGVERSION.tar.xz"
-PKGDEPENDS="libffi expat zlib libressl"
-PKGOPTIONS="IPV6"
-PKGTAGS="DEPRECATED"
-
-: ${CHOST:=$(uname -m)-linux-musl}
-: ${CBUILD:=$(uname -m)-linux-musl}
-: ${CTARGET:=$(uname -m)-linux-musl}
-: ${CC:=clang}
-: ${CFLAGS:=-O2}
-: ${LDFLAGS:=}
-: ${LIBS:=}
-: ${IPV6:=yes}
-
-if [ "$IPV6" = "yes" ]; then
-	with_ipv6="--enable-ipv6"
-else
-	with_ipv6="--disable-ipv6"
-fi
-
-build()
-{
-	rm -rf Python-$PKGVERSION
-	tar -xvf Python-$PKGVERSION.tar.xz
-	cd Python-$PKGVERSION
-
-	CC="$CC" \
-	CFLAGS="$CFLAGS" \
-	LDFLAGS="$LDFLAGS" \
-	LIBS="$LIBS" \
-	./configure \
-		--build=$CBUILD \
-		--host=$CHOST \
-		--target=$CTARGET \
-		--prefix=/. \
-		--enable-shared \
-		--with-system-expat \
-		--with-system-ffi \
-		$with_ipv6
-	make
-	make DESTDIR=$DESTDIR altinstall maninstall
-	ln -sf python2.7 $DESTDIR/bin/python2
-
-	# Avoid conflicts with Python 3.
-	rm -f $DESTDIR/bin/2to3
-	mv $DESTDIR/bin/smtpd.py $DESTDIR/bin/smtpd.py2.7
-	mv $DESTDIR/bin/idle $DESTDIR/bin/idle2.7
-	mv $DESTDIR/bin/pydoc $DESTDIR/bin/pydoc2.7
-
-	cd ..
-	rm -rf Python-$PKGVERSION
-}
--- a/python/python2/python2.sha1	Thu Nov 11 19:59:52 2021 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-678d4cf483a1c92efd347ee8e1e79326dc82810b  Python-2.7.18.tar.xz