Hello! New package request. I based the spec on python-dateutil.spec > http://svnweb.mageia.org/packages/updates/7/python-dateutil/current/SPECS/python-dateutil.spec?view=markup removed the python2 part (as it will be obsoleted) added %undefine _disable_source_fetch to ensure the source URL is good (I confirm) it needs to be removed. I wasn't sure about the yaml to take between python3-pyaml and python3-yaml, but it works with python3-yaml. Other point : why python3dist(dateutil) doesn't work ? > not work : BuildRequires: python3dist(dateutil) > working : BuildRequires: python3-dateutil Same for yaml...
Created attachment 11564 [details] python-pykwalify.spec spec
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes. You Jybz might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
Assignee: bugsquad => pkg-bugsSeverity: normal => enhancementSummary: Kwalify : new package request, python kwalify (needed for West) => kwalify : new package request, python kwalify (needed for West)
(In reply to Jybz from comment #0) > Other point : > why python3dist(dateutil) doesn't work ? > > not work : BuildRequires: python3dist(dateutil) > > working : BuildRequires: python3-dateutil > Same for yaml... There aren't such python3 dists as dateutil nor yaml. $ urpmq --provides python3-dateutil | grep python3dist python3dist(python-dateutil)[== 2.8.0] $ urpmq --provides python3-yaml | grep python3dist python3dist(pyyaml)[== 5.1.2]
CC: (none) => jani.valimaa
I've now imported python-pykwalify based on .spec from pyp2rpm. It's a handy tool to create a .spec for python pkgs from pypi. The cmd I used downloads sources and creates a .spec to ~/rpmbuild. $ pyp2rpm -s pykwalify In most of the cases created .spec can be used as is to create a .src.rpm for importing to mga, but I tend to check it and clean/modify a bit.
Closing as FIXED.
Status: NEW => RESOLVEDResolution: (none) => FIXED