Added inital debian folder.
This commit is contained in:
parent
b7285cd25c
commit
b76f6ca9c3
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
python-pytimeparse (1.1.4-1) unstable; urgency=medium
|
||||
|
||||
* Initial release. (Closes: #782306)
|
||||
|
||||
-- Thomas Goirand <zigo@debian.org> Fri, 27 Mar 2015 15:48:55 +0100
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
9
|
36
debian/control
vendored
Normal file
36
debian/control
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
Source: python-pytimeparse
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||
Uploaders: Thomas Goirand <zigo@debian.org>
|
||||
Build-Depends: debhelper (>= 9),
|
||||
dh-python,
|
||||
python-all (>= 2.6.6-3~),
|
||||
python-setuptools,
|
||||
python3-all,
|
||||
python3-setuptools
|
||||
Build-Depends-Indep: python-future, python-nose, python3-nose
|
||||
Standards-Version: 3.9.6
|
||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-pytimeparse.git
|
||||
Vcs-Git: git://anonscm.debian.org/openstack/python-pytimeparse.git
|
||||
Homepage: https://github.com/wroberts/pytimeparse
|
||||
|
||||
Package: python-pytimeparse
|
||||
Architecture: all
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: python-future, ${misc:Depends}, ${python:Depends}
|
||||
Description: time expression parser - Python 2.x
|
||||
A small Python library to parse various kinds of time expressions, inspired by
|
||||
this StackOverflow question: http://stackoverflow.com/questions/4628122
|
||||
.
|
||||
This package contains the Python 2.x module.
|
||||
|
||||
Package: python3-pytimeparse
|
||||
Architecture: all
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${misc:Depends}, ${python3:Depends}
|
||||
Description: time expression parser - Python 3.x
|
||||
A small Python library to parse various kinds of time expressions, inspired by
|
||||
this StackOverflow question: http://stackoverflow.com/questions/4628122
|
||||
.
|
||||
This package contains the Python 3.x module.
|
34
debian/copyright
vendored
Normal file
34
debian/copyright
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: pytimeparse
|
||||
Source: https://github.com/wroberts/pytimeparse
|
||||
|
||||
Files: debian/*
|
||||
Copyright: (c) 2015, Thomas Goirand <zigo@debian.org>
|
||||
License: Expat
|
||||
|
||||
Files: *
|
||||
Copyright: (c) 2014-2015, Will Roberts <wildwilhelm@gmail.com>
|
||||
(c) 2014, Ajna Cackovic
|
||||
(c) 2014, Catherine Devlin <catherine.devlin@gmail.com>
|
||||
License: Expat
|
||||
|
||||
License: Expat
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation files
|
||||
(the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge,
|
||||
publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
||||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
9
debian/gbp.conf
vendored
Normal file
9
debian/gbp.conf
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
[DEFAULT]
|
||||
upstream-branch = master
|
||||
debian-branch = debian/unstable
|
||||
upstream-tag = %(version)s
|
||||
compression = xz
|
||||
|
||||
[git-buildpackage]
|
||||
export-dir = ../build-area/
|
||||
|
44
debian/rules
vendored
Executable file
44
debian/rules
vendored
Executable file
@ -0,0 +1,44 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
PYTHONS:=$(shell pyversions -vr)
|
||||
PYTHON3S:=$(shell py3versions -vr)
|
||||
|
||||
UPSTREAM_GIT = git://github.com/wroberts/pytimeparse.git
|
||||
-include /usr/share/openstack-pkg-tools/pkgos.make
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=python_distutils --with python2,python3
|
||||
|
||||
override_dh_install:
|
||||
set -e ; for pyvers in $(PYTHONS); do \
|
||||
python$$pyvers setup.py install --install-layout=deb \
|
||||
--root $(CURDIR)/debian/python-pytimeparse; \
|
||||
done
|
||||
set -e ; for pyvers in $(PYTHON3S); do \
|
||||
python$$pyvers setup.py install --install-layout=deb \
|
||||
--root $(CURDIR)/debian/python3-pytimeparse; \
|
||||
done
|
||||
rm -rf $(CURDIR)/debian/python*-pytimeparse/usr/lib/python*/dist-packages/*.pth
|
||||
|
||||
override_dh_auto_test:
|
||||
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
||||
nosetests
|
||||
nosetests3
|
||||
endif
|
||||
|
||||
|
||||
override_dh_clean:
|
||||
dh_clean -O--buildsystem=python_distutils
|
||||
rm -rf build
|
||||
|
||||
|
||||
# Commands not to run
|
||||
override_dh_installcatalogs:
|
||||
override_dh_installemacsen override_dh_installifupdown:
|
||||
override_dh_installinfo override_dh_installmenu override_dh_installmime:
|
||||
override_dh_installmodules override_dh_installlogcheck:
|
||||
override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
|
||||
override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
|
||||
override_dh_installcron override_dh_installdebconf:
|
||||
override_dh_installlogrotate override_dh_installgsettings:
|
||||
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
1
debian/source/options
vendored
Normal file
1
debian/source/options
vendored
Normal file
@ -0,0 +1 @@
|
||||
extend-diff-ignore = "^[^/]*[.]egg-info/"
|
3
debian/watch
vendored
Normal file
3
debian/watch
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
version=3
|
||||
http://pypi.python.org/packages/source/p/pytimeparse pytimeparse-(.*).tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user