Bug 1178528 (python-send2trash)

Summary: Review Request: python-send2trash - Python module to send files to trash natively
Product: [Fedora] Fedora Reporter: Christian Krause <chkr>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: chkr, e, kevin, mhroncok, package-review
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-09 11:59:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1173410    

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 ***