Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 629516
Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +5 lines)
Line  Link Here
0
-- a/setup.py
0
++ b/setup.py
Lines 21-27 Link Here
21
      packages      = ['gs_pypi'],
21
      packages      = ['gs_pypi'],
22
      package_data  = {'gs_pypi': ['data/*']},
22
      package_data  = {'gs_pypi': ['data/*']},
23
      scripts       = ['bin/gs-pypi-generate-db', 'bin/gs-pypi'],
23
      scripts       = ['bin/gs-pypi-generate-db', 'bin/gs-pypi'],
24
      data_files    = [('/etc/g-sorcery/', ['gs-pypi.json']),
24
      data_files    = [('@GENTOO_PORTAGE_EPREFIX@/etc/g-sorcery/', ['gs-pypi.json']),
25
                       ('/etc/layman/overlays/', ['gs-pypi-overlays.xml'])],
25
                       ('@GENTOO_PORTAGE_EPREFIX@/etc/layman/overlays/', ['gs-pypi-overlays.xml'])],
26
      license       = 'GPL-2',
26
      license       = 'GPL-2',
27
      )
27
      )
28
-- a/gs_pypi/gs_pypi_generate_db.py
28
++ b/gs_pypi/gs_pypi_generate_db.py
Lines 43-49 Link Here
43
43
44
    logger = Logger()
44
    logger = Logger()
45
    cfg_path = None
45
    cfg_path = None
46
    for path in '.', '~', '/etc/g-sorcery':
46
    for path in '.', '~', '@GENTOO_PORTAGE_EPREFIX@/etc/g-sorcery':
47
        current = os.path.join(path, "gs-pypi.json")
47
        current = os.path.join(path, "gs-pypi.json")
48
        if (os.path.isfile(current)):
48
        if (os.path.isfile(current)):
49
            cfg_path = path
49
            cfg_path = path

Return to bug 629516