From 43097f85260ee94a349140e9210667d88de135ca Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 27 Jan 2018 23:02:17 -0600 Subject: [PATCH] Initial packaging. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 32 ++++++++++++++++++++++++++++++++ debian/copyright | 22 ++++++++++++++++++++++ debian/rules | 11 +++++++++++ debian/source/format | 1 + debian/source/options | 1 + setup.py | 2 +- 8 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/options diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..8c03ae4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +lubuntu-about (1.0.0) UNRELEASED; urgency=medium + + * Initial release. + + -- Simon Quigley Sat, 27 Jan 2018 22:52:50 -0600 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8e7ae7f --- /dev/null +++ b/debian/control @@ -0,0 +1,32 @@ +Source: lubuntu-about +Section: x11 +Priority: optional +Maintainer: Lubuntu Developers +Uploaders: Simon Quigley , + Julien Lavergne +Build-Depends: debhelper (>= 11), dh-python, python3-all, python3-setuptools +Standards-Version: 4.1.3 +Homepage: https://github.com/lubuntu-team/lubuntu-about +X-Python3-Version: >= 3.6 +Vcs-Git: https://github.com/lubuntu-team/lubuntu-about +Vcs-Browser: https://github.com/lubuntu-team/lubuntu-about + +Package: lubuntu-about +Architecture: all +Depends: python3-lubuntu-about, ${python3:Depends}, ${misc:Depends} +Description: Program showing information about a Lubuntu system - libraries + A simple entry in Lubuntu's main menu with a command showing some basic + hardware and software information, like free memory, processor, OS version, + kernel, etc. + . + This package installs the main executable. + +Package: python3-lubuntu-about +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Description: Program showing information about a Lubuntu system - libraries + A simple entry in Lubuntu's main menu with a command showing some basic + hardware and software information, like free memory, processor, OS version, + kernel, etc. + . + This package installs the Python 3 libraries. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ecc70eb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lubuntu-about +Source: https://github.com/lubuntu-team/lubuntu-about + +Files: * +Copyright: 2018 Lubuntu Developers +License: GPL-3+ + 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 3 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 + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..56624d3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +export DH_VERBOSE = 1 + +export PYBUILD_NAME=lubuntu-about + +%: + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_python3: + dh_python3 --no-shebang-rewrite diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..cb61fa5 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/" diff --git a/setup.py b/setup.py index 94f4905..4071940 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import os from DistUtilsExtra.command import * setup(name='lubuntu-about', - version='1.0', + version='1.0.0', packages=['src'], scripts=['src/lubuntu-about'], cmdclass = { "build" : build_extra.build_extra }