fixed bug where pipgen named ebuilds dev-python-VERSION.ebuild

master
~keith 4 months ago
parent 2e79dcbd34
commit e0cbadd94b
Signed by: keith
GPG Key ID: 5BEBEEAB2C73D520
  1. 2
      pipgen.py

@ -190,7 +190,7 @@ def __main__():
os.makedirs(pkg_name)
pkg_data = get_package((args.name + '/' + args.version) if args.version else args.name)
with open(f'{pkg_name}/{pkg_name.partition("/")[0]}-{pkg_data["version"]}.ebuild', 'w') as fh:
with open(f'{pkg_name}/{pkg_name.partition("/")[2]}-{pkg_data["version"]}.ebuild', 'w') as fh:
fh.write(fill_template(pkg_data))
if __name__ == '__main__':

Loading…
Cancel
Save