1
0
forked from ports/opt

python3-six: adopted port

This commit is contained in:
Tim Biermann 2023-08-19 11:17:39 +02:00
parent 6417f89a44
commit 795046aa4e
3 changed files with 12 additions and 13 deletions

View File

@ -3,7 +3,6 @@ drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.10/
drwxr-xr-x root/root usr/lib/python3.10/site-packages/
drwxr-xr-x root/root usr/lib/python3.10/site-packages/__pycache__/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/__pycache__/six.cpython-310.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.10/site-packages/__pycache__/six.cpython-310.pyc
drwxr-xr-x root/root usr/lib/python3.10/site-packages/six-1.16.0-py3.10.egg-info/
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/six-1.16.0-py3.10.egg-info/PKG-INFO

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/WMMzqJb9ZoYB3PmsXt5UixfFgKrmPAfrRkXv3Eg/NVHqiTMfIkT1+4vEvQZAZi+wLAKAwRy++ftbGHzvv1hUQA=
SHA256 (Pkgfile) = 55decb6099bad76789ca5360282fdf74a7d5f6cd81fb53bd77a3c00410374b91
SHA256 (.footprint) = 8ceed0b10d9a0f6c1ef70961b55c6e06626130b4ab6419e68aadbcc4a8292174
RWSE3ohX2g5d/cxT/Flsmj/y0TvWkf+AA+ek/z/x0+ufEW8RBRByduuU1jagDxFIjxOr/yGrCpoon7y8SfwjoG7kFE5BPWJ4NQU=
SHA256 (Pkgfile) = 15deb45002f85744801fc5f880f2230c7eb715b3e55b6ff96d434ff855d0bfd9
SHA256 (.footprint) = 35f2a0d41886644d9359b269a68f6dcfb193739ac4b905b9dc2e8e74ada40947
SHA256 (six-1.16.0.tar.gz) = 1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926

View File

@ -1,18 +1,18 @@
# Description: Python 2 and 3 compatibility utilities.
# Description: Python 2 and 3 compatibility utilities
# URL: https://pypi.python.org/pypi/six/
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-setuptools
name=python3-six
version=1.16.0
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
release=2
source=(https://pypi.org/packages/source/s/six/six-$version.tar.gz)
build() {
cd ${name#*-}-$version
cd six-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install \
--prefix=/usr --root=$PKG --optimize=1
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG \
--skip-build
}