mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Remove local pkg-plist hacks - the actual issue was resolved in
devel/py-setuptools in r377419.
This commit is contained in:
parent
2192d28a52
commit
fad54c1a7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377470
@ -15,11 +15,4 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:${PORTSDIR}/devel/py-lxml
|
||||
USES= python zip
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
post-patch:
|
||||
# fix pkg-plist problem with python3. This file is not installing.
|
||||
@${REINPLACE_CMD} -e 's|src/experimental/__init__.py||' \
|
||||
${WRKSRC}/src/experimental.cssselect.egg-info/SOURCES.txt
|
||||
@${RM} ${WRKSRC}/src/experimental/__init__.py \
|
||||
${WRKSRC}/src/experimental.cssselect.egg-info/SOURCES.txt.bak
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- setup.py.orig 2012-04-04 20:27:16 UTC
|
||||
+++ setup.py
|
||||
@@ -16,7 +16,7 @@ setup(
|
||||
open("CHANGES.txt").read(),
|
||||
author='Laurence Rowe',
|
||||
url='https://github.com/lrowe/experimental.cssselect',
|
||||
- packages=find_packages('src'),
|
||||
+ packages=['experimental'],
|
||||
package_dir={'':'src'},
|
||||
namespace_packages=[
|
||||
'.'.join(name.split('.')[:n+1]) for n in range(name.count('.'))],
|
@ -20,11 +20,4 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.1.1:${PORTSDIR}/devel/py-lxml \
|
||||
USES= python zip
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
post-patch:
|
||||
# fix pkg-plist problem with python3. This file is not installing.
|
||||
@${REINPLACE_CMD} -e 's|repoze/__init__.py||' \
|
||||
${WRKSRC}/repoze.xmliter.egg-info/SOURCES.txt
|
||||
@${RM} ${WRKSRC}/repoze/__init__.py \
|
||||
${WRKSRC}/repoze.xmliter.egg-info/SOURCES.txt.bak
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- setup.py.orig 2014-09-21 15:40:44 UTC
|
||||
+++ setup.py
|
||||
@@ -43,7 +43,7 @@ setup(name='repoze.xmliter',
|
||||
author_email="repoze-dev@lists.repoze.org",
|
||||
url="http://www.repoze.org",
|
||||
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
|
||||
- packages=find_packages(),
|
||||
+ packages = ['repoze', 'repoze.xmliter'],
|
||||
include_package_data=True,
|
||||
namespace_packages=['repoze'],
|
||||
zip_safe=False,
|
@ -17,12 +17,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
post-patch:
|
||||
# fix pkg-plist problem with python3. This file is not installing.
|
||||
@${REINPLACE_CMD} -e 's|src/zope/__init__.py||' \
|
||||
${WRKSRC}/src/zope.interface.egg-info/SOURCES.txt
|
||||
@${RM} ${WRKSRC}/src/zope/__init__.py \
|
||||
${WRKSRC}/src/zope.interface.egg-info/SOURCES.txt.bak
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/zope/interface/_zope_interface_coptimizations.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user