Date: Sun, 16 Jun 2013 03:32:44 GMT From: nemysis <nemysis@gmx.ch> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179604: [NEW PORT] deskutils/send2trash: Small package that sends files to the Trash Message-ID: <201306160332.r5G3Wijc005703@oldred.freebsd.org> Resent-Message-ID: <201306160340.r5G3e0Ds006772@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179604 >Category: ports >Synopsis: [NEW PORT] deskutils/send2trash: Small package that sends files to the Trash >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 16 03:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE-p3 amd64 >Organization: >Environment: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 >Description: Send2Trash is a small package that sends files to the Trash (or Recycle Bin) *natively* and on *all platforms*. WWW: http://hg.hardcoded.net/send2trash/ >How-To-Repeat: This Port is needed for games/anki-2.0.11 anki Traceback (most recent call last): File "/usr/local/bin/anki", line 5, in <module> import aqt File "/usr/local/share/anki/aqt/__init__.py", line 5, in <module> from aqt.qt import * File "/usr/local/share/anki/aqt/qt.py", line 7, in <module> from anki.utils import isWin, isMac File "/usr/local/share/anki/anki/__init__.py", line 32, in <module> from anki.storage import Collection File "/usr/local/share/anki/anki/storage.py", line 9, in <module> from anki.collection import _Collection File "/usr/local/share/anki/anki/collection.py", line 12, in <module> from anki.media import MediaManager File "/usr/local/share/anki/anki/media.py", line 7, in <module> import send2trash ImportError: No module named send2trash With installed deskutils/send2trash Anki works Build log https://redports.org/buildarchive/20130616031600-62911/ >Fix: Please add attachment as deskutils/send2trash Shar is also here https://github.com/nemysis/FreeBSD_Ports/blob/master/pr/deskutils/send2trash.shar Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # send2trash # send2trash/Makefile # send2trash/pkg-descr # send2trash/distinfo # send2trash/pkg-plist # echo c - send2trash mkdir -p send2trash > /dev/null 2>&1 echo x - send2trash/Makefile sed 's/^X//' >send2trash/Makefile << '0031acb1e7917792a38a4071700aeeb2' X# Created by: nemysis <nemysis@gmx.ch> X# $FreeBSD$ X XPORTNAME= send2trash XPORTVERSION= 1.2.0 XCATEGORIES= deskutils XMASTER_SITES= CHEESESHOP XDISTNAME= Send2Trash-${PORTVERSION} X XMAINTAINER= nemysis@gmx.ch XCOMMENT= Small package that sends files to the Trash X XLICENSE= BSD X XUSE_PYTHON= yes XUSE_PYDISTUTILS=easy_install X XPORTDOCS= CHANGES README X X.include <bsd.port.options.mk> X Xpost-patch: X @${REINPLACE_CMD} -e "s|name='Send2Trash'|name='send2trash'|" \ X ${WRKSRC}/setup.py X Xpost-install: X.if ${PORT_OPTIONS:MDOCS} X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} X.endif X X.include <bsd.port.mk> 0031acb1e7917792a38a4071700aeeb2 echo x - send2trash/pkg-descr sed 's/^X//' >send2trash/pkg-descr << '39166281ed731a997bd013f3f5e34ca4' XSend2Trash is a small package that sends files to the Trash (or Recycle Bin) X*natively* and on *all platforms*. X XWWW: http://hg.hardcoded.net/send2trash/ 39166281ed731a997bd013f3f5e34ca4 echo x - send2trash/distinfo sed 's/^X//' >send2trash/distinfo << '2584d8cc693b6b0d44622e430beb3277' XSHA256 (Send2Trash-1.2.0.tar.gz) = 9de6d116218650bf24607175cc8e2c2d8a87898491339c13871b0fd462120d04 XSIZE (Send2Trash-1.2.0.tar.gz) = 5033 2584d8cc693b6b0d44622e430beb3277 echo x - send2trash/pkg-plist sed 's/^X//' >send2trash/pkg-plist << 'b234654354c8e71badf3a1314538d919' X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/EGG-INFO/PKG-INFO X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/EGG-INFO/SOURCES.txt X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/EGG-INFO/dependency_links.txt X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/EGG-INFO/not-zip-safe X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/EGG-INFO/top_level.txt X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/__init__.py X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/__init__.pyc X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/__init__.pyo X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/plat_osx.py X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/plat_osx.pyc X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/plat_osx.pyo X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/plat_other.py X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/plat_other.pyc X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/plat_other.pyo X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/plat_win.py X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/plat_win.pyc X%%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash/plat_win.pyo X@dirrm %%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/send2trash X@dirrm %%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg/EGG-INFO X@dirrm %%PYTHON_SITELIBDIR%%/send2trash-1.2.0-py2.7.egg b234654354c8e71badf3a1314538d919 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306160332.r5G3Wijc005703>