~alpine/aports

main/python: depend on linux-headers v1 PROPOSED

Sören Tempel: 1
 main/python: depend on linux-headers

 1 files changed, 4 insertions(+), 6 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/1228/mbox | git am -3
Learn more about email & git

[alpine-aports] [PATCH] main/python: depend on linux-headers Export this patch

Without installing linux-headers a bunch of linux specific features are
disabled during compile time. An example of this is netlink(7) support.
With this commit netlink and (possibly) other features are detected and
enabled at compile time correctly.

fixes #4451
---
 main/python/APKBUILD | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/main/python/APKBUILD b/main/python/APKBUILD
index 9f78590..e00bd85 100644
--- a/main/python/APKBUILD
+++ b/main/python/APKBUILD
@@ -2,22 +2,20 @@
pkgname=python
pkgver=2.7.10
_verbase=${pkgver%.*}
pkgrel=1
pkgrel=2
pkgdesc="A high-level scripting language"
url="http://www.python.org"
arch="all"
license="custom"
replaces="python-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tests
	py-gdbm:gdbm
	"
	py-gdbm:gdbm"
depends=""
makedepends="expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev
	gdbm-dev sqlite-dev libffi-dev readline-dev paxmark"
	gdbm-dev sqlite-dev libffi-dev readline-dev linux-headers paxmark"
source="http://www.$pkgname.org/ftp/$pkgname/$pkgver/Python-$pkgver.tar.xz
	musl-find_library.patch
	unchecked-ioctl.patch
	"
	unchecked-ioctl.patch"

prepare() {
	cd "$srcdir/Python-$pkgver"
-- 
2.5.2



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---