Ottomata has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/389787 )
Change subject: Initial debian commit ...................................................................... Initial debian commit Bug: T166167 Change-Id: Ic7ef5949db68b78023524a9a03a9ac476e944cb9 --- A debian/changelog A debian/compat A debian/control A debian/copyright A debian/gbp.conf A debian/patches/no_pytest_requirement.patch A debian/patches/series A debian/rules A debian/source/format A debian/source/options 10 files changed, 75 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/cergen refs/changes/87/389787/1 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..fd99084 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-cergen (0.1.0-1) jessie-wikimedia; urgency=low + + * Initial debian wikimedia release + + -- Andrew Otto (WMF) <[email protected]> Wed, 18 Oct 2017 14:33:20 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f11c82a --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 \ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3bc32a3 --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: python-cergen +Maintainer: Andrew Otto (WMF) <[email protected]> +Section: python +Priority: optional +Build-Depends: debhelper (>= 8), dh-python, + python3-all (>= 3.4.0), python3-dev (>= 3.4.0), python3-setuptools (>= 5.5.1) +Standards-Version: 3.9.3 + +Package: cergen +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, openssl, + java8-runtime-headless | default-jre-headless +Provides: ${python3:Provides} +Description: Generates asymmetric keys and x509 certificate files declared in a YAML manifest. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..25394d7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cergen +Source: https://gerrit.wikimedia.org/r/cergen + +Files: * +Copyright: 2017 Andrew Otto <[email protected]> +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + \ No newline at end of file diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..11d39b7 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,4 @@ +[buildpackage] +upstream-tree=branch +upstream-branch=master +debian-branch=debian diff --git a/debian/patches/no_pytest_requirement.patch b/debian/patches/no_pytest_requirement.patch new file mode 100644 index 0000000..74873a1 --- /dev/null +++ b/debian/patches/no_pytest_requirement.patch @@ -0,0 +1,14 @@ +--- a/setup.py ++++ b/setup.py +@@ -15,8 +15,9 @@ + author='Andrew Otto', + packages=find_packages(), + python_requires='>=3', +- setup_requires=['pytest-runner'], +- tests_require=['pytest'], ++ ### Don't require pytest for debian package ++ # setup_requires=['pytest-runner'], ++ # tests_require=['pytest'], + install_requires=[ + 'docopt>=0.6', + 'pyyaml>=3', diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..c931472 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +no_pytest_requirement.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8b64ff3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=cergen +export PYBUILD_DISABLE=test + +%: + dh $@ --with python3 --buildsystem=pybuild + +# override_dh_auto_clean: +# # python setup.py clean -a +# find . -name \*.pyc -exec rm {} \; diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..bcc4bbb --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore="\.egg-info$" \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/389787 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic7ef5949db68b78023524a9a03a9ac476e944cb9 Gerrit-PatchSet: 1 Gerrit-Project: cergen Gerrit-Branch: master Gerrit-Owner: Ottomata <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
