]> git.pld-linux.org Git - packages/adapter.git/blobdiff - adapter.awk
adapter: kill %pyrequires_eq, python(abi) deps are autogenerated for last 8 years
[packages/adapter.git] / adapter.awk
index dc8743699e80e6bca892d0d15e7ceac50b093e40..cba44c853062bc6d1cf828b21bff2e772214baff 100644 (file)
@@ -632,6 +632,11 @@ preamble == 1 {
                release = "0." fixedsub(".%{disttag}.at", "", $4)
        }
 
+       # deprecated. currently just resolves to name in $2
+       if (/^%pyrequires_eq.+/) {
+               $1 = "Requires:";
+       }
+
        field = tolower($1)
        if (field ~ /summary:/ && !/etc\.$/ && !/Inc\.$/) {
                sub(/\.$/, "", $0);
@@ -1934,6 +1939,7 @@ function replace_groupnames(group) {
        group = replace(group, "Productivity/Databases/Servers", "Applications/Databases");
        group = replace(group, "Productivity/Multimedia/Other", "X11/Applications/Multimedia");
        group = replace(group, "Productivity/Networking/Web/Servers", "Networking/Daemons/HTTP");;
+       group = replace(group, "Python/Libraries", "Libraries/Python");
        group = replace(group, "Shells", "Applications/Shells");
        group = replace(group, "System Environment/Base", "Base");
        group = replace(group, "System Environment/Daemons", "Daemons");
This page took 0.05798 seconds and 4 git commands to generate.