Freedict is a set of bilingual dictionaries. There are already 3 ebuilds for freedicts. This python script tries to fetch all possible combinations and for the ones that it managed to get it creates the proper ebuilds and one dictd-freedict ebuild. The script uses twisted.
Created attachment 23311 [details]
A python script to generate freedict ebuilds
it needs twisted
interesting, probably more approriately looked at by app-dicts. i wonder if it is a good idea to automate generating ebuilds, or just release it as a seperate tool and then let people generate these in their overlays ..
i already find maintaining the seperate dictionary files difficult ..
This might be more interesting if done more in the spirit of g-cpan.pl.
Basically g-cpan.pl creates ebuilds for CPAN modules, stores the new ebuild in a temporary overlay directory, then emerges the CPAN module just like any other package. Also it checks to see if there's already an existing ebuild.
It should be fairly simple to add this functionality to the current script.
Go ahead :) It would indeed be nicer to have it in only one thingy.
Even better if it also generated stuff that can be used by stardict.
4 years since last comment... is this still relevant?
~6 years of basically no comment... likely should close it. Either way, it's not python's business (just because a script is in python doesn't mean it's anyway relevant to us)...
Closing this, now this both hasn't been commented on for over 15 years AND produces ebuilds using a banned EAPI.