aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordbn <dbn@FreeBSD.org>2014-03-12 05:02:56 +0800
committerdbn <dbn@FreeBSD.org>2014-03-12 05:02:56 +0800
commitbe00ccfcba6bcf961fb125c3bf3112f0815f12e8 (patch)
treea4990eeb1f705506d2a403c27e45140701f347ba /lang
parentdb600b05a16041d36c5d32339960728a5215eac7 (diff)
downloadfreebsd-ports-gnome-be00ccfcba6bcf961fb125c3bf3112f0815f12e8.tar.gz
freebsd-ports-gnome-be00ccfcba6bcf961fb125c3bf3112f0815f12e8.tar.zst
freebsd-ports-gnome-be00ccfcba6bcf961fb125c3bf3112f0815f12e8.zip
Fix lang/pypy-devel's sysconfig.py file.
In python the 'purelib' and 'platlib' paths should contain 'site-packages' however the original pypy code does not thus the patch did not either however this is not consistent with distutils/sysconfig.py.
Diffstat (limited to 'lang')
-rw-r--r--lang/pypy-devel/Makefile1
-rw-r--r--lang/pypy-devel/files/patch-lib-python__2.7__sysconfig.py6
2 files changed, 4 insertions, 3 deletions
diff --git a/lang/pypy-devel/Makefile b/lang/pypy-devel/Makefile
index a47ef6ec8c5f..e47fafcd90c7 100644
--- a/lang/pypy-devel/Makefile
+++ b/lang/pypy-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= pypy
DISTVERSION= 2.3-alpha${DATE}
+PORTREVISION= 1
CATEGORIES= lang python
MASTER_SITES= https://bitbucket.org/pypy/pypy/get/ LOCAL/dbn/${PORTNAME}
PKGNAMESUFFIX= -devel
diff --git a/lang/pypy-devel/files/patch-lib-python__2.7__sysconfig.py b/lang/pypy-devel/files/patch-lib-python__2.7__sysconfig.py
index e96cc0e2e8af..6c0aa5c28d4b 100644
--- a/lang/pypy-devel/files/patch-lib-python__2.7__sysconfig.py
+++ b/lang/pypy-devel/files/patch-lib-python__2.7__sysconfig.py
@@ -12,8 +12,8 @@
- 'platinclude': '{base}/include',
+ 'stdlib': '{base}/lib/pypy-{pypy_version_short}',
+ 'platstdlib': '{platbase}/lib/pypy-{pypy_version_short}',
-+ 'purelib': '{base}/lib/pypy-{pypy_version_short}',
-+ 'platlib': '{platbase}/lib/pypy-{pypy_version_short}',
++ 'purelib': '{base}/lib/pypy-{pypy_version_short}/site-packages',
++ 'platlib': '{platbase}/lib/pypy-{pypy_version_short}/site-packages',
+ 'include': '{base}/include/pypy-{pypy_version_short}',
+ 'platinclude': '{platbase}/include/pypy-{pypy_version_short}',
'scripts': '{base}/bin',
@@ -32,7 +32,7 @@
_CONFIG_VARS['py_version'] = _PY_VERSION
_CONFIG_VARS['py_version_short'] = _PY_VERSION_SHORT
_CONFIG_VARS['py_version_nodot'] = _PY_VERSION[0] + _PY_VERSION[2]
-+ _CONFIG_VARS['py_version'] = _PYPY_VERSION
++ _CONFIG_VARS['pypy_version'] = _PYPY_VERSION
+ _CONFIG_VARS['pypy_version_short'] = _PYPY_VERSION_SHORT
+ _CONFIG_VARS['pypy_version_nodot'] = _PYPY_VERSION[0] + _PYPY_VERSION[2]
_CONFIG_VARS['base'] = _PREFIX