Bug 1178528 (python-send2trash) - Review Request: python-send2trash - Python module to send files to trash natively
Summary: Review Request: python-send2trash - Python module to send files to trash nati...
Keywords:
Status: CLOSED DUPLICATE of bug 1532588
Alias: python-send2trash
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1173410
TreeView+ depends on / blocked
 
Reported: 2015-01-04 15:07 UTC by Christian Krause
Modified: 2018-01-09 11:59 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-01-09 11:59:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christian Krause 2015-01-04 15:07:51 UTC
Spec URL: https://chkr.fedorapeople.org/review/python-Send2Trash.spec
SRPM URL: https://chkr.fedorapeople.org/review/python-Send2Trash-1.3.0-1.fc20.src.rpm
Description:
Send2Trash is a small package that sends files to the Trash (or Recycle Bin)
natively and on all platforms.

Fedora Account System Username: chkr

Comments:
This package is required to debundle the Send2Trash module from the anki package:
https://bugzilla.redhat.com/show_bug.cgi?id=1173410

Comment 1 Kevin Kofler 2015-02-16 00:36:47 UTC
Do we really want to use mixed case in the package name? The module name to import from Python is all lowercase, the GitHub project also uses all lowercase, only the pypi page uses mixed case.

Comment 2 Christian Krause 2015-02-19 00:41:12 UTC
I just checked: other python packages, e.g. python-werkzeug, are in the same category:

- mixed-case tarball name
- mixed-case directory in tarball
- mixed-case in egg-info

- but lowercase package name

I'll change the package name in the next few days unless there are any objections.

Comment 3 Christian Krause 2015-02-23 19:50:24 UTC
Here are the update files using a lowercase package name:

Spec URL: https://chkr.fedorapeople.org/review/python-send2trash.spec
SRPM URL: https://chkr.fedorapeople.org/review/python-send2trash-1.3.0-1.fc20.src.rpm

Comment 4 William Moreno 2015-12-10 23:58:34 UTC
You must update your spec file:

1. Provide python2 and python3 subpackages.
2. Update the python macros
3. Use the python-provides macro
4. Ping upstream about include the license text in the tarball

Comment 5 Eduardo Mayorga 2015-12-11 01:04:08 UTC
(In reply to William Moreno from comment #4)
> 2. Update the python macros

By this I think he meant to use the %py2_build, %py3_build, %py2_install, and %py3_install macros, as shown here: https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file

Comment 6 William Moreno 2016-01-06 19:36:13 UTC
Any update here?

Comment 7 Miro Hrončok 2018-01-09 11:39:58 UTC
I need this package. Will open a new review request, given there's no reply to a needinfo for 2 years.

Comment 8 Miro Hrončok 2018-01-09 11:59:14 UTC

*** This bug has been marked as a duplicate of bug 1532588 ***


Note You need to log in before you can comment on or make changes to this bug.