Changeset 212

Show
Ignore:
Timestamp:
08/30/09 16:42:34 (11 months ago)
Author:
eferro
Message:

migration of debian package to python-support. Improved docs. Some cleans. Fix #57. Fix #50. Ref #5. Ref #42.

Location:
boscli-oss/boscli-oss-core
Files:
6 added
3 removed
3 modified
5 moved

Legend:

Unmodified
Added
Removed
  • boscli-oss/boscli-oss-core/debian/changelog

    r207 r212  
     1boscli-oss-core (0.2.0-2) unstable; urgency=low 
     2 
     3  * Debian package rewrite (using python-support) 
     4 
     5 -- Eduardo Ferro <eferro@alea-soluciones.com>  Sun, 30 Aug 2009 16:41:33 +0200 
     6 
    17boscli-oss-core (0.2.0-1) unstable; urgency=low 
    28 
  • boscli-oss/boscli-oss-core/debian/control

    r204 r212  
    33Priority: extra 
    44Maintainer: Eduardo Ferro Aldama <eferro@alea-soluciones.com> 
    5 Build-Depends: debhelper (>= 5) 
     5Build-Depends: cdbs (>= 0.4.49), 
     6               debhelper (>= 5.0), 
     7               python, 
     8               python-support (>= 0.6) 
    69Standards-Version: 3.8.1 
    710Homepage: http://oss.alea-soluciones.com/trac/wiki/BoscliOss/ 
    811 
    912Package: boscli-oss-core 
    10 Architecture: all 
    11 Depends: ${shlibs:Depends}, python 
     13Architecture: any 
     14Depends: ${shlibs:Depends}, 
     15         ${misc:Depends}, 
     16         ${python:Depends} 
    1217Suggests: boscli-oss-utils, boscli-oss-system, boscli-oss-asterisk 
    1318Description: extensible command line processor for "ad hoc" shells creation 
  • boscli-oss/boscli-oss-core/debian/rules

    r171 r212  
    11#!/usr/bin/make -f 
    2 # -*- makefile -*- 
    3 # Sample debian/rules that uses debhelper. 
    4 # This file was originally written by Joey Hess and Craig Small. 
    5 # As a special exception, when this file is copied by dh-make into a 
    6 # dh-make output file, you may use that output file without restriction. 
    7 # This special exception was added by Craig Small in version 0.37 of dh-make. 
    82 
    9 # Uncomment this to turn on verbose mode. 
    103#export DH_VERBOSE=1 
     4 
     5DEB_PYTHON_SYSTEM = pysupport 
     6DEB_PYTHON_COMPILE_VERSION = $(shell pyversions -vd 2>/dev/null) 
     7 
     8# Must be included before python-distutils.mk to use dh_python/dh_pysupport. 
     9include /usr/share/cdbs/1/rules/debhelper.mk 
     10 
     11include /usr/share/cdbs/1/class/python-distutils.mk 
     12include /usr/share/cdbs/1/rules/utils.mk 
     13 
     14 
     15common-install-prehook-arch:: 
     16        @# Remove unneeded files from the deb. 
     17 
     18binary-post-install:: 
     19        @# Binary post install 
     20 
     21 
     22clean:: 
     23        @# Clean 
     24 
     25# For /usr/share/cdbs/1/rules/utils.mk sanity check. 
     26common-binary-post-install-arch:: list-missing 
    1127 
    1228 
    1329 
    14  
    15 configure: configure-stamp 
    16 configure-stamp: 
    17         dh_testdir 
    18         # Add here commands to configure the package. 
    19  
    20         touch configure-stamp 
    21  
    22  
    23 build: build-stamp 
    24  
    25 build-stamp: configure-stamp  
    26         dh_testdir 
    27  
    28         # Add here commands to compile the package. 
    29         $(MAKE) 
    30         #docbook-to-man debian/boscli-oss-core.sgml > boscli-oss-core.1 
    31  
    32         touch $@ 
    33  
    34 clean: 
    35         dh_testdir 
    36         dh_testroot 
    37         rm -f build-stamp configure-stamp 
    38  
    39         [ ! -f Makefile ] || $(MAKE) distclean 
    40  
    41         dh_clean  
    42  
    43 install: build 
    44         dh_testdir 
    45         dh_testroot 
    46         dh_clean -k  
    47         dh_installdirs 
    48  
    49         # Add here commands to install the package into debian/boscli-oss. 
    50         $(MAKE) DESTDIR=$(CURDIR)/debian/boscli-oss-core install 
    51  
    52  
    53 # Build architecture-independent files here. 
    54 binary-indep: build install 
    55         dh_testdir 
    56         dh_testroot 
    57         dh_installchangelogs  
    58         dh_installdocs 
    59         dh_installexamples 
    60         dh_install 
    61         dh_installman 
    62         dh_link 
    63         dh_strip 
    64         dh_compress 
    65         dh_fixperms 
    66         dh_installdeb 
    67         dh_gencontrol 
    68         dh_md5sums 
    69         dh_builddeb 
    70  
    71  
    72 # Build architecture-dependent files here. 
    73 binary-arch: build install 
    74  
    75 binary: binary-indep binary-arch 
    76 .PHONY: build clean binary-indep binary-arch binary install configure 
  • boscli-oss/boscli-oss-core/src/boscli/boscli.py

    r205 r212  
    762762The valid options are: 
    763763(The mandatory argument for "long format" options are also  
    764 mandatory for the correspondent sort option) 
     764mandatory for the correspondent short option) 
    765765       
    766766  -h, --help  
  • boscli-oss/boscli-oss-core/src/boscli/boscliutils.py

  • boscli-oss/boscli-oss-core/src/boscli/bosip.py

  • boscli-oss/boscli-oss-core/src/boscli/bostypes.py

    r210 r212  
    359359    print type5.values('incomp') 
    360360    print type5.help() 
     361 
     362    type6 = BiferGenericType(lambda incomplete_word: incomplete_word.lower(), "Lower case words") 
     363    print type6.values('inCOMPle') 
     364    print type6.help() 
     365     
  • boscli-oss/boscli-oss-core/src/boscli/privileges.py