Commit 01a80be9 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/python: ship pyconfig.h with main pkg

its needed runtime
parent e589ac8a
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=python
pkgver=2.7.2
pkgrel=0
_verbase=${pkgver%.*}
pkgrel=1
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
"
......@@ -52,6 +54,14 @@ _mv_files() {
done
}
dev() {
# pyconfig.h is needed runtime so we move it back
default_dev
mkdir -p "$pkgdir"/usr/include/python$_verbase
mv "$subpkgdir"/usr/include/python$_verbase/pyconfig.h \
"$pkgdir"/usr/include/python$_verbase/
}
tests() {
pkgdesc="The test modules from the main python package"
cd "$pkgdir"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment