1
0
forked from ports/opt

python: cleanup, remove all test stuff

This commit is contained in:
Juergen Daubert 2019-03-08 14:11:54 +01:00
parent 814b7866ea
commit eabbae9276
3 changed files with 7 additions and 1769 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/RZIkniDkwlrqTGaSnrdJMuvp1K9tpEgNQQvyoZ7e8xBi3YGwBr+p+IFsb2i47jbYMGYL6kbq+4yRKM0fX8HOgk=
SHA256 (Pkgfile) = 128aee5028f6be9c9ef46cc7f83b1ee7abe4e972dc050d939683922b88ed91ee
SHA256 (.footprint) = fee6d509cae4667d797ed7547fddf32e0dc98bb164cd47b92ed9d427d930b695
RWSE3ohX2g5d/WvPMIXcXKnpy3cpAaM1nUB7hHvRRs8g9lDpQUOEWxjFM6yks6IHuNqeWk0kPXIduYzSd6UZZSP9wXd3ospyPQU=
SHA256 (Pkgfile) = 23faf038c0f1d28ec8715c19357af0fc44c7b5429e26d9d8a75575d7a04f3404
SHA256 (.footprint) = a86c7ba79d92a079b06b8e7dfc97de242511d78c24ce2a0a2c8218a3df543dc8
SHA256 (Python-2.7.16.tar.xz) = f222ef602647eecb6853681156d32de4450a2c39f4de93bd5b20235f2e660ed7
SHA256 (pyconfig.h) = 081426cb9524c2e156a71bb035c25a67e44d389afc6f7e091bcf86a7f4e2002f

View File

@ -5,7 +5,7 @@
name=python
version=2.7.16
release=1
release=2
source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.xz \
pyconfig.h)
@ -31,9 +31,10 @@ build () {
ln -s python2.7 $PKG/usr/include/python
ln -s /usr/lib/libpython2.7.so $PKG/usr/lib/python2.7/config/libpython2.7.so
rm -r $PKG/usr/lib/python/{bsddb,ctypes,email,sqlite3}/test
rm -r $PKG/usr/lib/python/{bsddb,ctypes,email,lib-tk,sqlite3,unittest}/test
rm -r $PKG/usr/lib/python/{distutils,json,lib2to3}/tests
rm $PKG/usr/lib/python/{distutils,site-packages,test/data}/README
rm -r $PKG/usr/lib/python/test
rm $PKG/usr/lib/python/{distutils,site-packages}/README
rm $PKG/usr/lib/python/idlelib/{ChangeLog,{NEWS,README,TODO}.txt}
rm $PKG/usr/lib/python/ctypes/macholib/README.ctypes