python: Fix musl build and remove libffi.

This commit is contained in:
Dylan Araps 2019-06-25 19:58:38 +03:00
parent 17e4a8ec7e
commit 5004e9f81d
8 changed files with 1 additions and 70 deletions

View File

@ -1,10 +0,0 @@
#!/bin/sh -e
./configure \
--prefix=/usr
make
make DESTDIR="$1" install
# Remove all info files.
rm -rf "$1/usr/share/info"

View File

@ -1 +0,0 @@
d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37 libffi-3.2.1.tar.gz

View File

@ -1,21 +0,0 @@
libffi - Copyright (c) 1996-2014 Anthony Green, Red Hat, Inc and others.
See source files for details.
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.

View File

@ -1,30 +0,0 @@
/var/db/kiss/libffi/version
/var/db/kiss/libffi/sources
/var/db/kiss/libffi/manifest
/var/db/kiss/libffi/licenses
/var/db/kiss/libffi/checksums
/var/db/kiss/libffi/build
/var/db/kiss/libffi/
/var/db/kiss/
/var/db/
/var/
/usr/share/man/man3/ffi_prep_cif_var.3
/usr/share/man/man3/ffi_prep_cif.3
/usr/share/man/man3/ffi_call.3
/usr/share/man/man3/ffi.3
/usr/share/man/man3/
/usr/share/man/
/usr/share/
/usr/lib/pkgconfig/libffi.pc
/usr/lib/pkgconfig/
/usr/lib/libffi.so.6.0.4
/usr/lib/libffi.so.6
/usr/lib/libffi.so
/usr/lib/libffi.la
/usr/lib/libffi.a
/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/
/usr/

View File

@ -1 +0,0 @@
ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz

View File

@ -1 +0,0 @@
3.2.1 1

View File

@ -1,12 +1,8 @@
#!/bin/sh -e
# Force system libs
rm -r Modules/_ctypes/darwin* \
Modules/_ctypes/libffi*
./configure \
--prefix=/usr \
--with-system-ffi
--without-ensurepip
make
make DESTDIR="$1" install

View File

@ -1,2 +1 @@
libffi
libressl