Bug 180708 - [MAINTAINER] deskutils/py27-send2trash: update to 1.3.0
Summary: [MAINTAINER] deskutils/py27-send2trash: update to 1.3.0
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: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-20 23:10 UTC by nemysis
Modified: 2013-07-25 15:30 UTC (History)
0 users

See Also:


Attachments
py27-send2trash-1.3.0.patch (3.24 KB, patch)
2013-07-20 23:10 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-07-20 23:10:00 UTC
- Update to 1.3.0
- Trim dependency for python, now use 2 or 3 version
- Use PLIST_FILES instead of pkg-plist
- Trim docs
- Add DOCS Option
- Trim WWW
- Remove pkg-plist

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports)

How-To-Repeat: 
Build log

https://redports.org/buildarchive/20130720111700-7857/

Please close ports/179641: [NEW PORT] deskutils/send2trash3k: Small package that sends files to the Trash

As per upstream (https://pypi.python.org/pypi/Send2Trash3k/) since v1.3.0, Send2Trash has been converted
to a single codebase supporting both Python 2 and Python 3. This package is deprectaed and will not be updated further.
You should install Send2Trash from http://pypi.python.org/pypi/Send2Trash.
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2013-07-25 15:08:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-07-25 15:25:59 UTC
Author: pawel
Date: Thu Jul 25 14:25:51 2013
New Revision: 323644
URL: http://svnweb.freebsd.org/changeset/ports/323644

Log:
  - Update to version 1.3.0
  - Switch to dynamic plist
  
  PR:		ports/180708
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)

Deleted:
  head/deskutils/py-send2trash/pkg-plist
Modified:
  head/deskutils/py-send2trash/Makefile
  head/deskutils/py-send2trash/distinfo   (contents, props changed)
  head/deskutils/py-send2trash/pkg-descr   (contents, props changed)

Modified: head/deskutils/py-send2trash/Makefile
==============================================================================
--- head/deskutils/py-send2trash/Makefile	Thu Jul 25 14:24:28 2013	(r323643)
+++ head/deskutils/py-send2trash/Makefile	Thu Jul 25 14:25:51 2013	(r323644)
@@ -2,22 +2,27 @@
 # $FreeBSD$
 
 PORTNAME=	send2trash
-PORTVERSION=	1.2.0
+PORTVERSION=	1.3.0
 CATEGORIES=	deskutils
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	Send2Trash-${PORTVERSION}
+DIST_SUBDIR=	python
 
 MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Small package that sends files to the Trash
 
 LICENSE=	BSD
 
-USE_PYTHON=	2.6-2.7
+USE_PYTHON=	yes
 USE_PYDISTUTILS=easy_install
 PYDISTUTILS_PKGNAME=	Send2Trash
 
-PORTDOCS=	CHANGES README
+PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+PORTDOCS=	CHANGES.rst README.rst
+
+OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
 

Modified: head/deskutils/py-send2trash/distinfo
==============================================================================
--- head/deskutils/py-send2trash/distinfo	Thu Jul 25 14:24:28 2013	(r323643)
+++ head/deskutils/py-send2trash/distinfo	Thu Jul 25 14:25:51 2013	(r323644)
@@ -1,2 +1,2 @@
-SHA256 (Send2Trash-1.2.0.tar.gz) = 9de6d116218650bf24607175cc8e2c2d8a87898491339c13871b0fd462120d04
-SIZE (Send2Trash-1.2.0.tar.gz) = 5033
+SHA256 (python/Send2Trash-1.3.0.tar.gz) = 33f4461eae831eb09a21b70ca202c2a6dfd83db6bafa1e1ca11b5001e22c58fe
+SIZE (python/Send2Trash-1.3.0.tar.gz) = 5563

Modified: head/deskutils/py-send2trash/pkg-descr
==============================================================================
--- head/deskutils/py-send2trash/pkg-descr	Thu Jul 25 14:24:28 2013	(r323643)
+++ head/deskutils/py-send2trash/pkg-descr	Thu Jul 25 14:25:51 2013	(r323644)
@@ -2,3 +2,4 @@ Send2Trash is a small package that sends
 natively and on all platforms.
 
 WWW: http://hg.hardcoded.net/send2trash/
+WWW: https://pypi.python.org/pypi/Send2Trash/
_______________________________________________
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"
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2013-07-25 15:26:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!