I'd like to use trash-cli on CentOS, would it be reasonable to build it for EPEL? Happy to help, feel free to add me as co-maintainer if you like. Cheers David
needs python3-unipath by @terjeros.no Workaround seems to work: Install F34 builds: dnf install https://kojipkgs.fedoraproject.org//packages/trash-cli/0.20.11.7/2.fc34/noarch/trash-cli-0.20.11.7-2.fc34.noarch.rpm https://kojipkgs.fedoraproject.org//packages/python-unipath/1.1/13.fc34/noarch/python3-unipath-1.1-13.fc34.noarch.rpm (Pulls in python39 module) Change shebang in entry scripts (e.g. /usr/bin/trash) to Python 3.9: `#!/usr/bin/python3.9 -s` This will not be an issue if properly built against the system's python version.
Hey there, > I'd like to use trash-cli on CentOS, would it be reasonable to build it for EPEL? Happy to help, feel free to add me as co-maintainer if you like. Sure can do. I'm currently AFK until next week, so don't hold your breath :) What's your FAS name?
FAS: dreua Thanks!
Update: Dependencies can now be installed from testing: dnf install python3-unipath --enablerepo=epel-testing
Update: added user dreua as collaborator to https://src.fedoraproject.org/rpms/trash-cli/. Let me know when there is something missing for you
Thank you! Branches are already requested, builds should follow shortly...
"dreua is not a maintainer of the trash-cli package" It looks like you need to either give me maintainer level access or request the branches yourself, thanks! Branch request tickets: https://pagure.io/releng/fedora-scm-requests/issue/34463 https://pagure.io/releng/fedora-scm-requests/issue/34464 Request commands: fedpkg request-branch epel8 fedpkg request-branch epel7
Ah, thanks. Good to know. Updated your user settings to "admin" and requested the branches. $ fedpkg request-branch epel8 https://pagure.io/releng/fedora-scm-requests/issue/34484 $ fedpkg request-branch epel7 https://pagure.io/releng/fedora-scm-requests/issue/34485
Thanks again! el8 buils fine, but el7 has a problem: + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' Traceback (most recent call last): File "setup.py", line 41, in <module> main() File "setup.py", line 25, in main long_description=read_file("README.rst"), File "/builddir/build/BUILD/trash-cli-0.21.4.18/trashcli/fs.py", line 83, in read_file return f.read() File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 135: ordinal not in range(128) https://kojipkgs.fedoraproject.org//work/tasks/5796/69635796/build.log Does anyone have an idea what this is about and how to fix it? I personally use only CentOS 8 so CentOS 7 would be only a "drive by" update just in case anyone needs it. We may just ignore this issue and be happy with the el8 build.
+1 on the el8 from me. If you don't need el7… we can always add it later.
FEDORA-EPEL-2021-b3444f2877 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-b3444f2877
FEDORA-EPEL-2021-b3444f2877 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-b3444f2877 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2021-b3444f2877 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.