Bug 177425 - [NEW PORT] www/trac-tracdragdrop: extends attachments list in Trac
Summary: [NEW PORT] www/trac-tracdragdrop: extends attachments list in Trac
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 22:10 UTC by Hung-Yi Chen
Modified: 2013-07-16 06:50 UTC (History)
0 users

See Also:


Attachments
trac-tracdragdrop.diff (2.32 KB, patch)
2013-03-27 22:10 UTC, Hung-Yi Chen
no flags Details | Diff
trac-tracdragdrop.diff (2.35 KB, patch)
2013-04-01 20:21 UTC, Hung-Yi Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hung-Yi Chen 2013-03-27 22:10:00 UTC
This plugin extends attachments list in Trac.

- Drag-and-drop to attach files using HTML5 drag-and-drop, XMLHttpRequest Level 2 and File API.
- Progress bar while uploading the files using XMLHttpRequest Level 2.
- More than one file for selecting attachment files.
- Attach an image from clipboard.
- Auto-submit on select a file to attach.

WWW: http://trac-hacks.org/wiki/TracDragDropPlugin
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-03-28 08:22:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-03-28 09:12:38 UTC
State Changed
From-To: open->feedback

is there anyway you can host the distfiles on your own. the url you are 
using is just wrong (check portlint -AC)
Comment 3 Hung-Yi Chen 2013-04-01 20:21:55 UTC
Hi,

I updated the MASTER_SITES with a minor change.

2013/3/28  <miwi@freebsd.org>:
> Synopsis: [NEW PORT] www/trac-tracdragdrop: extends attachments list in Trac
>
> State-Changed-From-To: open->feedback
> State-Changed-By: miwi
> State-Changed-When: Thu Mar 28 09:12:38 UTC 2013
> State-Changed-Why:
> is there anyway you can host the distfiles on your own. the url you are
> using is just wrong (check portlint -AC)
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=177425
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2013-07-16 06:42:46 UTC
State Changed
From-To: feedback->closed

New port added. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-07-16 06:43:19 UTC
Author: miwi
Date: Tue Jul 16 05:43:05 2013
New Revision: 323089
URL: http://svnweb.freebsd.org/changeset/ports/323089

Log:
  This plugin extends attachments list in Trac.
  
  Drag-and-drop to attach files using HTML5 drag-and-drop,
  XMLHttpRequest Level 2 and File API.
  Progress bar while uploading the files using XMLHttpRequest
  Level 2.
  More than one file for selecting attachment files.
  Attach an image from clipboard.
  Auto-submit on select a file to attach.
  
  WWW: http://trac-hacks.org/wiki/TracDragDropPlugin
  
  PR:		ports/177425
  Submitted by:	Hung-Yi Chen <gaod@hychen.org>

Added:
  head/www/trac-tracdragdrop/
  head/www/trac-tracdragdrop/Makefile   (contents, props changed)
  head/www/trac-tracdragdrop/distinfo   (contents, props changed)
  head/www/trac-tracdragdrop/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Tue Jul 16 05:42:36 2013	(r323088)
+++ head/www/Makefile	Tue Jul 16 05:43:05 2013	(r323089)
@@ -1963,6 +1963,7 @@
     SUBDIR += trac-tickettemplate
     SUBDIR += trac-timingandestimation
     SUBDIR += trac-tocmacro
+    SUBDIR += trac-tracdragdrop
     SUBDIR += trac-tweakui
     SUBDIR += trac-vote
     SUBDIR += trac-wantedpages

Added: head/www/trac-tracdragdrop/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/trac-tracdragdrop/Makefile	Tue Jul 16 05:43:05 2013	(r323089)
@@ -0,0 +1,31 @@
+# Created by: Hung-Yi Chen <gaod@hychen.org>
+# $FreeBSD$
+
+PORTNAME=	tracdragdrop
+PORTVERSION=	0.12.0.10.${SVN_REV}
+CATEGORIES=	www devel python
+MASTER_SITES=	http://distfiles.cse.tw/ \
+		http://trac-hacks.org/changeset/${SVN_REV}/tracdragdropplugin?old_path=/&format=zip&filename=/
+PKGNAMEPREFIX=	trac-
+DISTNAME=	${PORTNAME}plugin-r${SVN_REV}
+
+MAINTAINER=	gaod@hychen.org
+COMMENT=	Provides extends attachments list of Trac
+
+LICENSE=	BSD
+
+SVN_REV=	12822
+
+RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac
+
+WRKSRC=		${WRKDIR}/${PORTNAME}plugin/0.12
+USE_ZIP=	yes
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
+
+FETCH_BEFORE_ARGS=	-o ${DISTFILES}
+PYDISTUTILS_PKGNAME=	TracDragDrop
+PYDISTUTILS_PKGVERSION=	${PORTVERSION:C/.${SVN_REV}//g}
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+.include <bsd.port.mk>

Added: head/www/trac-tracdragdrop/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/trac-tracdragdrop/distinfo	Tue Jul 16 05:43:05 2013	(r323089)
@@ -0,0 +1,2 @@
+SHA256 (tracdragdropplugin-r12822.zip) = 8bc454b52e5b4035142e84e51c69656deeb42b54033fd8f395d9a0786caa869d
+SIZE (tracdragdropplugin-r12822.zip) = 39920

Added: head/www/trac-tracdragdrop/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/trac-tracdragdrop/pkg-descr	Tue Jul 16 05:43:05 2013	(r323089)
@@ -0,0 +1,11 @@
+This plugin extends attachments list in Trac.
+
+Drag-and-drop to attach files using HTML5 drag-and-drop, 
+XMLHttpRequest Level 2 and File API.
+Progress bar while uploading the files using XMLHttpRequest
+Level 2.
+More than one file for selecting attachment files.
+Attach an image from clipboard.
+Auto-submit on select a file to attach.
+
+WWW: http://trac-hacks.org/wiki/TracDragDropPlugin
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"