1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Remove easy_install dependency

- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references

With hat:	python@
Approved by:	portmgr (implicit)
This commit is contained in:
Marcus von Appen 2014-06-19 06:19:35 +00:00
parent 6903df3056
commit e8c1aa5480
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358348
2 changed files with 6 additions and 71 deletions

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl}
PORTNAME= fullblog
PORTVERSION= 0.1.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@ -16,9 +16,9 @@ COMMENT= Plugin that provides a project Blog
RUN_DEPENDS+= htmldoc:${PORTSDIR}/textproc/htmldoc \
tracd:${PORTSDIR}/www/trac
USE_PYTHON= 2
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracFullBlogPlugin
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
.if defined(BOOTSTRAP)
do-fetch:
@ -29,13 +29,5 @@ do-fetch:
tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
.endif
build-plist:
@${CAT} /dev/null > ${PLIST}
${FIND} ${EGG_PATH} -type f | \
${SED} -e 's|${EGG_PATH}|%%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-%%PORTVERSION%%-py%%PYTHON_VER%%.egg|' | \
${SORT} >> ${PLIST}
${FIND} ${EGG_PATH} -type d | \
${SED} -e 's|${EGG_PATH}|@dirrm %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-%%PORTVERSION%%-py%%PYTHON_VER%%.egg|' | \
${SORT} -r >> ${PLIST}
.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk>

View File

@ -1,57 +0,0 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/admin.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/admin.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/admin.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/api.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/api.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/api.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/core.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/core.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/core.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/db.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/db.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/db.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/htdocs/blog.png
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/htdocs/css/fullblog.css
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/macros.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/macros.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/macros.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/model.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/model.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/model.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/spamfilter.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/spamfilter.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/spamfilter.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/tags.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/tags.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/tags.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/templates/fullblog.rss
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/templates/fullblog_admin.html
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/templates/fullblog_archive.html
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/templates/fullblog_delete.html
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/templates/fullblog_edit.html
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/templates/fullblog_macro_monthlist.html
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/templates/fullblog_macro_post.html
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/templates/fullblog_sidebar.html
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/templates/fullblog_view.html
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/util.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/util.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/util.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/web_ui.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/web_ui.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/web_ui.pyo
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/templates
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/htdocs/css
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog/htdocs
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tracfullblog
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%