eth0s/ports/core/python3/Pkgfile

22 lines
586 B
Text
Raw Normal View History

# Description: Next generation of the python high-level scripting language
# URL:
2019-11-10 23:58:56 +08:00
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
# Depends on: libffi
name=python3
2020-11-13 13:58:01 +08:00
version=3.9.0
release=1
source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz)
build() {
cd Python-$version
./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--without-ensurepip
make
make DESTDIR=$PKG install
}