FreeBSD Bugzilla – Attachment 174375 Details for
Bug 209355
lang/python3*: install fails if archivers/lzmalib is installed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
archives/py35-lzma
lang_python_lzma1.diff (text/plain), 4.81 KB, created by
Fukang Chen
on 2016-09-04 16:41:43 UTC
(
hide
)
Description:
archives/py35-lzma
Filename:
MIME Type:
Creator:
Fukang Chen
Created:
2016-09-04 16:41:43 UTC
Size:
4.81 KB
patch
obsolete
>Index: archivers/Makefile >=================================================================== >--- archivers/Makefile (revision 421281) >+++ archivers/Makefile (working copy) >@@ -177,6 +177,7 @@ > SUBDIR += py-rjsmin > SUBDIR += py-warctools > SUBDIR += py3-libarchive-c >+ SUBDIR += py35-lzma > SUBDIR += qpress > SUBDIR += quazip > SUBDIR += quazip-qt5 >Index: archivers/py35-lzma/Makefile >=================================================================== >--- archivers/py35-lzma/Makefile (nonexistent) >+++ archivers/py35-lzma/Makefile (working copy) >@@ -0,0 +1,36 @@ >+# Created by: loader@FreeBSD.org >+# $FreeBSD$ >+ >+PORTNAME= lzma >+PORTVERSION= ${PYTHON_PORTVERSION} >+CATEGORIES= archivers python >+MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+DISTNAME= Python-${PORTVERSION} >+DIST_SUBDIR= python >+ >+MAINTAINER= python@FreeBSD.org >+COMMENT= Standard Python binding to the LZMA library (Python ${PYTHON_VER}) >+ >+LICENSE= PSFL >+LICENSE_FILE= ${WRKDIR}/Python-${PORTVERSION}/LICENSE >+ >+PORTSCOUT= ignore:1 >+ >+USES= python:3.5 tar:xz >+USE_PYTHON= autoplist distutils >+ >+DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo >+WRKSRC= ${WRKDIR}/Python-${PORTVERSION}/Modules >+ >+PYDISTUTILS_INSTALLARGS+= --install-lib ${PYTHON_LIBDIR}/lib-dynload >+ >+.include <bsd.port.pre.mk> >+ >+post-extract: >+ @${CP} ${FILESDIR}/setup.py ${WRKSRC}/setup.py >+ >+post-install: >+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_LIBDIR}/lib-dynload/_lzma.so >+ >+.include <bsd.port.post.mk> > >Property changes on: archivers/py35-lzma/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: archivers/py35-lzma/files/setup.py >=================================================================== >--- archivers/py35-lzma/files/setup.py (nonexistent) >+++ archivers/py35-lzma/files/setup.py (working copy) >@@ -0,0 +1,30 @@ >+#!/usr/bin/env python >+# To use: >+# python setup.py install >+# >+ >+__version__ = "$FreeBSD$" >+ >+try: >+ import distutils >+ from distutils import sysconfig >+ from distutils.command.install import install >+ from distutils.core import setup, Extension >+except: >+ raise SystemExit("Distutils problem") >+ >+install.sub_commands = [x for x in install.sub_commands if 'egg' not in x[0]] >+ >+prefix = sysconfig.PREFIX >+inc_dirs = [prefix + "/include"] >+lib_dirs = ["/usr/lib", prefix + "/lib"] >+libs = ["lzma"] >+ >+setup(name = "lzma", >+ description = "LZMA extension to Python", >+ >+ ext_modules = [Extension('_lzma', ['_lzmamodule.c'], >+ include_dirs = inc_dirs, >+ libraries = libs, >+ library_dirs = lib_dirs)] >+ ) > >Property changes on: archivers/py35-lzma/files/setup.py >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: archivers/py35-lzma/pkg-descr >=================================================================== >--- archivers/py35-lzma/pkg-descr (nonexistent) >+++ archivers/py35-lzma/pkg-descr (working copy) >@@ -0,0 +1 @@ >+Python bindings to the LZMA library. > >Property changes on: archivers/py35-lzma/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/python35/Makefile >=================================================================== >--- lang/python35/Makefile (revision 421281) >+++ lang/python35/Makefile (working copy) >@@ -27,7 +27,7 @@ > PYTHON_VERSION= python${PYTHON_VER} > PYTHON_SUFFIX= ${PYTHON_VER:S/.//g} > >-DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm >+DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm _lzma > CONFIGURE_ARGS+= --enable-shared --without-ensurepip > CONFIGURE_ENV+= OPT="" DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS}" # Null out OPT to respect user CFLAGS and remove optimizations > >Index: lang/python35/pkg-plist >=================================================================== >--- lang/python35/pkg-plist (revision 421281) >+++ lang/python35/pkg-plist (working copy) >@@ -2593,7 +2593,6 @@ > lib/python%%XYDOT%%/lib-dynload/_heapq.so > lib/python%%XYDOT%%/lib-dynload/_json.so > lib/python%%XYDOT%%/lib-dynload/_lsprof.so >-lib/python%%XYDOT%%/lib-dynload/_lzma.so > lib/python%%XYDOT%%/lib-dynload/_md5.so > lib/python%%XYDOT%%/lib-dynload/_multibytecodec.so > %%THREADS%%lib/python%%XYDOT%%/lib-dynload/_multiprocessing.so
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209355
:
174374
| 174375