First pass at upgrading to EAPI 3.
[g-pypi.git] / docs / how_it_works.txt
1
2 This is a summary of how g-pypi finds the information it needs to create
3 an ebuild.
4
5 If you give g-pypi a package name with no other arguments it will:
6
7 1) Query PyPI for the package name and return the metadata
8    a) If PyPI doesn't have the SRC_URI it tries to use setuptools to find it.
9  
10 2) Use enamer.py to determine the package name and version if
11 possible (PN, MY_P, PV, MY_PV etc.) 
12
13 3) Write initial ebuild
14
15 4) Download the package and unarchive it and try to determine ${S}
16
17 5) Write ebuild again adding ${S}
18
19
20
21