Changeset 6153


Ignore:
Timestamp:
Nov 2, 2017, 1:17:46 PM (2 years ago)
Author:
kbut
Message:

set scripts to package

Location:
epi/trunk/fuentes
Files:
4 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • epi/trunk/fuentes/debian/control

    r6138 r6153  
    1212Vcs-Browser: https://svn.lliurex.net/xenial/epi
    1313
    14 Package: epi
     14Package: python3-epi
    1515Architecture: all
    1616Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
    1717Description:Easy package installer
    1818  EPI is a tool to install application. It consists of a graphic version EPI-gtk and a version for terminal (EPIC)
     19
     20Package: epi-cli
     21Architecture: all
     22Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, python3-epi, python3-clint
     23Description:Easy package installer
     24  EPI is a tool to install application. It consists of a graphic version EPI-gtk and a version for terminal (EPIC)
     25
     26Package: epi-gtk
     27Architecture: all
     28Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, python3-epi
     29Description:Easy package installer
     30  EPI is a tool to install application. It consists of a graphic version EPI-gtk and a version for terminal (EPIC)
     31
  • epi/trunk/fuentes/debian/rules

    r6138 r6153  
    1414#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
    1515
    16 
    17 export PYBUILD_NAME=python3-epi
     16export PYBUILD_NAME=epi
    1817%:
    1918        dh $@ --with python3 --buildsystem pybuild
     
    2322#override_dh_auto_configure:
    2423#       dh_auto_configure -- #  -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
     24
     25override_dh_auto_install:
     26        dh_auto_install
     27        python3 setup_cli.py install --root $(CURDIR)/debian/epi-cli --prefix=/usr
     28        python3 setup_cli.py clean --all
     29        python3 setup_gtk.py install --root $(CURDIR)/debian/epi-gtk --prefix=/usr
     30        python3 setup_gtk.py clean --all
  • epi/trunk/fuentes/setup.py

    r6141 r6153  
    1 #!/usr/bin/env python
     1#!/usr/bin/env python3
    22#
    33# $Id: setup.py,v 1.32 2010/10/17 15:47:21 ghantoos Exp $
     
    2121
    2222from distutils.core import setup
    23 from lliurex.i18n import poinstaller
    2423import sys
    2524
     
    2726if __name__ == '__main__':
    2827       
    29         pinstaller = poinstaller.PoInstaller('translations','python3-epi')
    30         pinstaller.build()
    31         polist = pinstaller.setup_install()
    32 
    3328        setup(name='python3-epi',
    3429                version='0.1',
     
    4338                license='GPL',
    4439                platforms='UNIX',
    45                 scripts = ['epi-cli/epic','epi-gtk/epi-gtk'],
    46                 packages = ['epi','epicli','epigtk'],
    47                 package_dir = {'epi':'python3-epi','epicli':'epi-cli','epigtk':'epi-gtk/python3-epigtk'},
    48                 package_data = {'epigtk':['rsrc/*']},
    49                 data_files = [('share/applications',['epi-gtk/data_files/epi-gtk.desktop']),
    50                               ('share/mime/packages',['epi-gtk/data_files/epi.xml']),
    51                               ('share/icons/hicolor/scalable/mimetypes',['epi-gtk/data_files/application-easy-package-installer.svg'])
    52                              ],
     40                packages = ['epi'],
     41                package_dir = {'epi':'python3-epi'},
    5342                classifiers=[
    5443                        'Development Status :: 4 - Beta',
     
    6251                        ],
    6352        )
    64         pinstaller.clean()
    65 
Note: See TracChangeset for help on using the changeset viewer.