This is a major version update; as usual for these you will need to upgrade your trac environments, also note that some plugins are now obsolete and should be removed. Trac now uses Jinja2 instead of Genshi as its template engine - Genshi is still supported in 1.4.x for plugin templates but is now optional. See https://trac.edgewall.org/wiki/1.3/TracUpgrade#to1.4 and https://trac.edgewall.org/wiki/TracChangeLog for more details.
42 lines
922 B
Makefile
42 lines
922 B
Makefile
# $OpenBSD: Makefile,v 1.70 2019/08/31 15:07:56 sthen Exp $
|
|
|
|
COMMENT= wiki and bug tracking system for software projects
|
|
|
|
MODPY_EGG_VERSION=1.4
|
|
PORTROACH= limitw:1,even
|
|
DISTNAME= Trac-${MODPY_EGG_VERSION:S/post/.post/}
|
|
PKGNAME= trac-${MODPY_EGG_VERSION:S/post/pl/}
|
|
CATEGORIES= www devel
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
HOMEPAGE= https://trac.edgewall.org/
|
|
|
|
MASTER_SITES= https://ftp.edgewall.org/pub/trac/
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODULES= lang/python
|
|
|
|
COMMON_DEPS= devel/py-babel>=0.9.6 \
|
|
www/py-jinja2>=2.9.3
|
|
|
|
RUN_DEPENDS= ${COMMON_DEPS} \
|
|
devel/subversion,-python \
|
|
textproc/py-docutils \
|
|
textproc/py-pygments
|
|
|
|
BUILD_DEPENDS= ${COMMON_DEPS}
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/trac
|
|
cd ${WRKSRC} && pax -rw contrib/ ${PREFIX}/share/examples/trac
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && PYTHONPATH=. ${MODPY_BIN} ./trac/test.py
|
|
|
|
.include <bsd.port.mk>
|