From c986f9c08ff96e97a5b0d7052a49e18b1a8367b2 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 27 Jun 2019 10:53:10 +0300 Subject: [PATCH] python: Attempt to fix build. --- extra/expat/build | 7 +++++++ extra/expat/checksums | 1 + extra/expat/licenses | 21 +++++++++++++++++++++ extra/expat/manifest | 30 ++++++++++++++++++++++++++++++ extra/expat/sources | 1 + extra/expat/version | 1 + extra/libffi/build | 6 ++++++ extra/libffi/checksums | 1 + extra/libffi/manifest | 31 +++++++++++++++++++++++++++++++ extra/libffi/sources | 1 + extra/libffi/version | 1 + extra/python/build | 5 +++++ extra/python/depends | 2 ++ 13 files changed, 108 insertions(+) create mode 100755 extra/expat/build create mode 100644 extra/expat/checksums create mode 100644 extra/expat/licenses create mode 100644 extra/expat/manifest create mode 100644 extra/expat/sources create mode 100644 extra/expat/version create mode 100755 extra/libffi/build create mode 100644 extra/libffi/checksums create mode 100644 extra/libffi/manifest create mode 100644 extra/libffi/sources create mode 100644 extra/libffi/version diff --git a/extra/expat/build b/extra/expat/build new file mode 100755 index 00000000..6daf22f8 --- /dev/null +++ b/extra/expat/build @@ -0,0 +1,7 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr + +make +make DESTDIR="$1" install diff --git a/extra/expat/checksums b/extra/expat/checksums new file mode 100644 index 00000000..6cd2108d --- /dev/null +++ b/extra/expat/checksums @@ -0,0 +1 @@ +cbc9102f4a31a8dafd42d642e9a3aa31e79a0aedaa1f6efd2795ebc83174ec18 expat-2.2.7.tar.bz2 diff --git a/extra/expat/licenses b/extra/expat/licenses new file mode 100644 index 00000000..8d288f0f --- /dev/null +++ b/extra/expat/licenses @@ -0,0 +1,21 @@ +Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper +Copyright (c) 2001-2017 Expat maintainers + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/extra/expat/manifest b/extra/expat/manifest new file mode 100644 index 00000000..950d3826 --- /dev/null +++ b/extra/expat/manifest @@ -0,0 +1,30 @@ +/var/db/kiss/expat/version +/var/db/kiss/expat/sources +/var/db/kiss/expat/manifest +/var/db/kiss/expat/licenses +/var/db/kiss/expat/checksums +/var/db/kiss/expat/build +/var/db/kiss/expat/ +/var/db/kiss/ +/var/db/ +/var/ +/usr/share/doc/expat/changelog +/usr/share/doc/expat/AUTHORS +/usr/share/doc/expat/ +/usr/share/doc/ +/usr/share/ +/usr/lib/pkgconfig/expat.pc +/usr/lib/pkgconfig/ +/usr/lib/libexpat.so.1.6.9 +/usr/lib/libexpat.so.1 +/usr/lib/libexpat.so +/usr/lib/libexpat.la +/usr/lib/libexpat.a +/usr/lib/ +/usr/include/expat.h +/usr/include/expat_external.h +/usr/include/expat_config.h +/usr/include/ +/usr/bin/xmlwf +/usr/bin/ +/usr/ diff --git a/extra/expat/sources b/extra/expat/sources new file mode 100644 index 00000000..181cdee0 --- /dev/null +++ b/extra/expat/sources @@ -0,0 +1 @@ +https://github.com/libexpat/libexpat/releases/download/R_2_2_7/expat-2.2.7.tar.bz2 diff --git a/extra/expat/version b/extra/expat/version new file mode 100644 index 00000000..5bc1cc43 --- /dev/null +++ b/extra/expat/version @@ -0,0 +1 @@ +2.2.7 diff --git a/extra/libffi/build b/extra/libffi/build new file mode 100755 index 00000000..58953326 --- /dev/null +++ b/extra/libffi/build @@ -0,0 +1,6 @@ +#!/bin/sh -e + +./configure --prefix=/usr + +make +make DESTDIR="$1" install diff --git a/extra/libffi/checksums b/extra/libffi/checksums new file mode 100644 index 00000000..f6bb1830 --- /dev/null +++ b/extra/libffi/checksums @@ -0,0 +1 @@ +d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37 libffi-3.2.1.tar.gz diff --git a/extra/libffi/manifest b/extra/libffi/manifest new file mode 100644 index 00000000..1db2ac78 --- /dev/null +++ b/extra/libffi/manifest @@ -0,0 +1,31 @@ +/var/db/puke/libffi/version +/var/db/puke/libffi/sources +/var/db/puke/libffi/checksums +/var/db/puke/libffi/build +/var/db/puke/libffi/manifest +/var/db/puke/libffi +/var/db/puke +/var/db +/var +/usr/share/man/man3/ffi_prep_cif_var.3 +/usr/share/man/man3/ffi.3 +/usr/share/man/man3/ffi_prep_cif.3 +/usr/share/man/man3/ffi_call.3 +/usr/share/man/man3 +/usr/share/man +/usr/share/info/libffi.info +/usr/share/info +/usr/share +/usr/lib/pkgconfig/libffi.pc +/usr/lib/pkgconfig +/usr/lib/libffi-3.2.1/include/ffitarget.h +/usr/lib/libffi-3.2.1/include/ffi.h +/usr/lib/libffi-3.2.1/include +/usr/lib/libffi-3.2.1 +/usr/lib/libffi.so.6.0.4 +/usr/lib/libffi.so +/usr/lib/libffi.so.6 +/usr/lib/libffi.la +/usr/lib/libffi.a +/usr/lib +/usr diff --git a/extra/libffi/sources b/extra/libffi/sources new file mode 100644 index 00000000..12b6fbd7 --- /dev/null +++ b/extra/libffi/sources @@ -0,0 +1 @@ +ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz diff --git a/extra/libffi/version b/extra/libffi/version new file mode 100644 index 00000000..b7c90c2c --- /dev/null +++ b/extra/libffi/version @@ -0,0 +1 @@ +3.2.1 1 diff --git a/extra/python/build b/extra/python/build index 4ee4efed..e434aed2 100755 --- a/extra/python/build +++ b/extra/python/build @@ -1,5 +1,10 @@ #!/bin/sh -e +rm -r Modules/zlib +rm -r Modules/expat +rm -r Modules/_ctypes/darwin* +rm -r Modules/_ctypes/libffi* + ./configure \ --prefix=/usr \ --without-ensurepip diff --git a/extra/python/depends b/extra/python/depends index 75929cf7..acd70f06 100644 --- a/extra/python/depends +++ b/extra/python/depends @@ -1 +1,3 @@ libressl +libffi +expat