Commit 7669d1ff authored by Vlad Frolov's avatar Vlad Frolov Committed by Natanael Copa

Move pyconfig.h from python3-dev to python3 package

Here is the related commit in python (python2) package:

The lack of `pyconfig.h` breaks distutils (`/usr/lib/python3.4/distutils/`):

$ pip3 install -U pip

Please, note that I have added suffix 'm' as since Python 3.2 it is configured with enabled `--with-pymalloc` option by default, which adds suffix 'm' (/usr/include/python3.4m/).
parent 14a9504d
......@@ -55,6 +55,14 @@ _mv_files() {
mv "$pkgdir"/usr/lib/python$_pkgver/test "$subpkgdir"/usr/lib/python$_pkgver
dev() {
# pyconfig.h is needed runtime so we move it back
mkdir -p "$pkgdir"/usr/include/python${_pkgver}m
mv "$subpkgdir"/usr/include/python${_pkgver}m/pyconfig.h \
tests() {
pkgdesc="The test modules from the main python package"
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