[Python-modules-commits] [python-udatetime] 02/02: Initial release (v0.0.9-1)

Ilias Tsitsimpis iliastsi-guest at moszumanska.debian.org
Sun Sep 11 21:03:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

iliastsi-guest pushed a commit to branch master
in repository python-udatetime.

commit b0614edd7530840294e50db51d066bf0c5186ca1
Author: Ilias Tsitsimpis <i.tsitsimpis at gmail.com>
Date:   Sun Sep 11 18:16:22 2016 +0300

    Initial release (v0.0.9-1)
---
 debian/changelog                  |  5 ++++
 debian/compat                     |  1 +
 debian/control                    | 52 +++++++++++++++++++++++++++++++++++++++
 debian/copyright                  | 28 +++++++++++++++++++++
 debian/docs                       |  1 +
 debian/python-udatetime.examples  |  1 +
 debian/python3-udatetime.examples |  1 +
 debian/rules                      | 17 +++++++++++++
 debian/watch                      |  3 +++
 9 files changed, 109 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e463a81
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-udatetime (0.0.9-1) unstable; urgency=medium
+
+  * Initial release (Closes: #837159)
+
+ -- Ilias Tsitsimpis <i.tsitsimpis at gmail.com>  Sun, 11 Sep 2016 14:46:35 +0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..54e5d76
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: python-udatetime
+Section: python
+Priority: optional
+Maintainer: Ilias Tsitsimpis <i.tsitsimpis at gmail.com>
+Uploaders:
+ Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-all-dev,
+ python-setuptools,
+ python3-all,
+ python3-all-dev,
+ python3-setuptools
+Standards-Version: 3.9.8
+Homepage: https://pypi.python.org/pypi/udatetime
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-udatetime.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-udatetime.git
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.5
+Testsuite: autopkgtest-pkg-python
+
+Package: python-udatetime
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}
+Description: fast RFC3339 compliant date-time library (Python 2)
+ This module offers faster datetime object instantiation, serialization and
+ deserialization of RFC3339 date-time strings, than Python's datetime module.
+ It uses Python's datetime class under the hood so, code already using datetime
+ should be able to easily switch to udatetime. All datetime objects created
+ by udatetime are timezone aware.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-udatetime
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Description: fast RFC3339 compliant date-time library (Python 3)
+ This module offers faster datetime object instantiation, serialization and
+ deserialization of RFC3339 date-time strings, than Python's datetime module.
+ It uses Python's datetime class under the hood so, code already using datetime
+ should be able to easily switch to udatetime. All datetime objects created
+ by udatetime are timezone aware.
+ .
+ This package installs the library for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..199694c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: udatetime
+Upstream-Contact: Simon Pirschel <simon at aboutsimon.com>
+Source: https://pypi.python.org/pypi/udatetime
+
+Files: *
+Copyright: 2016 Simon Pirschel <simon at aboutsimon.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016 Ilias Tsitsimpis <i.tsitsimpis at gmail.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ https://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/python-udatetime.examples b/debian/python-udatetime.examples
new file mode 100644
index 0000000..826ac77
--- /dev/null
+++ b/debian/python-udatetime.examples
@@ -0,0 +1 @@
+scripts/*
diff --git a/debian/python3-udatetime.examples b/debian/python3-udatetime.examples
new file mode 100644
index 0000000..826ac77
--- /dev/null
+++ b/debian/python3-udatetime.examples
@@ -0,0 +1 @@
+scripts/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fb51b60
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE = 1
+export PYBUILD_NAME = udatetime
+
+# Do not install the bench_udatetime.py script under /usr/bin.
+# Instead, copy it under /usr/share/doc, as example.
+export PYBUILD_AFTER_INSTALL = rm {destdir}/usr/bin/bench_udatetime.py
+
+# Tests are under the 'test' directory
+export PYBUILD_TEST_ARGS = test
+
+# Enable hardening flags
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e86d2a0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/udatetime/udatetime-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-udatetime.git



More information about the Python-modules-commits mailing list