Skip to content

Commit

Permalink
trac-plugins-Paste: imported svn version compatible with Trac 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasPetermann committed Jul 31, 2020
1 parent d34a07c commit 4710ce5
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
4 changes: 4 additions & 0 deletions trac-plugins-Paste/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This is a plugin that adds (aspires to add) estimation and time
tracking to Trac. This basically adds CustomFields and CustomReports
and an interface for filling the dynamic variables for the
report. (requires javascript).
45 changes: 45 additions & 0 deletions trac-plugins-Paste/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# $NetBSD: $

SVNVERSION= 17747
# Eggs do not have the same name and do not include the SVN revision.
EGG_VERSION= 0.4.0
VERSION= ${EGG_VERSION}.${SVNVERSION}
DISTNAME= TracPastePlugin-${VERSION}
EGG_NAME= pasteplugin-${EGG_VERSION}
PKGNAME= trac-plugins-Paste-${VERSION}
# Empty to avoid default setting.
#PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= # not defined

MAINTAINER= [email protected]
HOMEPAGE= https://trac-hacks.org/wiki/TracPastePlugin
COMMENT= Paste plugin for Trac
LICENSE= original-bsd

DEPENDS+= trac>=1.4:../../www/trac
DEPENDS+= py27-pygments>=2.5:../../textproc/py-pygments

PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.2.8/11739

SVN_REPOSITORIES= plugin
SVN_REPO.plugin= https://trac-hacks.org/svn/tracpasteplugin/trunk
SVN_REVISION.plugin= ${SVNVERSION}

NO_CHECKSUM= yes

WRKSRC= ${WRKDIR}/plugin

# Bogus, but needed because setup runs as root during build.
PRIVILEGED_STAGES+= clean

EGDIR= share/examples/trac
INSTALLATION_DIRS+= ${EGDIR}

post-extract:
find ${WRKSRC} -type d -name .svn -print | xargs rm -r

.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../wip/mk/svn-package.mk"
.include "../../mk/bsd.pkg.mk"
18 changes: 18 additions & 0 deletions trac-plugins-Paste/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@comment $NetBSD$
${PYSITELIB}/tracpaste/__init__.py
${PYSITELIB}/tracpaste/__init__.pyc
${PYSITELIB}/tracpaste/__init__.pyo
${PYSITELIB}/tracpaste/db.py
${PYSITELIB}/tracpaste/db.pyc
${PYSITELIB}/tracpaste/db.pyo
${PYSITELIB}/tracpaste/htdocs/css/pastebin.css
${PYSITELIB}/tracpaste/htdocs/css/timeline.css
${PYSITELIB}/tracpaste/htdocs/pastebin.png
${PYSITELIB}/tracpaste/model.py
${PYSITELIB}/tracpaste/model.pyc
${PYSITELIB}/tracpaste/model.pyo
${PYSITELIB}/tracpaste/templates/pastebin.html
${PYSITELIB}/tracpaste/web_ui.py
${PYSITELIB}/tracpaste/web_ui.pyc
${PYSITELIB}/tracpaste/web_ui.pyo
@pkgdir share/examples/trac

0 comments on commit 4710ce5

Please sign in to comment.