Re: Packaging autorandr

2021-10-23 Thread Peter Kotvan
> On Fri, 22 Oct 2021, Peter Kotvan wrote:
> 
> 
> Hi Peter!
> 
> I took a quick look at the upstream .spec and it seems that it has a fair 
> amount of cruft that is no longer allowed in Fedora packaging (e.g., 
> BuildRoot, Group, etc.) and as such probably doesn't meet current 
> packaging guidelines.  I would just create a new one, or you could take 
> the existing one and update it to current standards - which is likely to 
> result in a smaller/simpler spec.
> 
> Scott

Hi Scott!

Thanks for the suggestion! I've done some work on the spec file and filed a 
package review bug https://bugzilla.redhat.com/show_bug.cgi?id=2016767

We'll see how the review will go.

P.
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Packaging autorandr

2021-10-22 Thread Peter Kotvan
Hello folks!

I'd like to package the autorandr
<https://github.com/phillipberndt/autorandr> project for Fedora. This would
be my first python package so I'd like to ask some questions.

Firstly the project already contains a spec
<https://github.com/phillipberndt/autorandr/blob/master/contrib/packaging/rpm/autorandr.spec>
file. However I'm not sure whether it could be used without any
modifications. For example the %install section doesn't contain
%pyproject_install but rather uses make and install commands. But maybe
it's the correct approach since the package should contain not just python
files and executables but also systemd unit and udev rule.

I'd like to ask for guidance on how to approach this, especially whether
the original spec file is usable or if I should create a new one according
to Python Packaging Guidelines
<https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/>.

Thanks in advance and kind regards.
-- 
Peter Kotvan
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure