[Python-modules-commits] [python-cpuinfo] 02/02: Import Debian changes 3.0.0-1

Hugo Lefeuvre hle at moszumanska.debian.org
Thu Apr 13 10:10:45 UTC 2017


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

hle pushed a commit to branch master
in repository python-cpuinfo.

commit b3b04d5cfb537df661105ac1be5257807063e91e
Author: Hugo Lefeuvre <hle at debian.org>
Date:   Thu Apr 13 10:36:52 2017 +0200

    Import Debian changes 3.0.0-1
    
    python-cpuinfo (3.0.0-1) experimental; urgency=low
    
      * Initial release (Closes: #860182)
---
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 43 +++++++++++++++++++++++++++++++++++++++++++
 debian/copyright           | 29 +++++++++++++++++++++++++++++
 debian/py-cpuinfo.1        |  7 +++++++
 debian/py-cpuinfo.manpages |  1 +
 debian/rules               | 17 +++++++++++++++++
 debian/source/format       |  1 +
 debian/source/options      |  1 +
 debian/watch               |  2 ++
 10 files changed, 107 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a4851b5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-cpuinfo (3.0.0-1) experimental; urgency=low
+
+  * Initial release (Closes: #860182)
+
+ -- Hugo Lefeuvre <hle at debian.org>  Thu, 13 Apr 2017 10:36:52 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..eac9748
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: python-cpuinfo
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Hugo Lefeuvre <hle at debian.org>
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python3-all,
+               python3-setuptools
+Standards-Version: 3.9.8
+Homepage: https://github.com/workhorsy/py-cpuinfo
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-cpuinfo.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-cpuinfo.git/
+
+Package: python-cpuinfo
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends}
+Description: Python module for getting CPU info
+ The cpuinfo Python module provides pure Python tools for getting CPU infos.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-cpuinfo
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Description: Python module for getting CPU info (Python 3)
+ The cpuinfo Python module provides pure Python tools for getting CPU infos.
+ .
+ This package installs the library for Python 3.
+
+Package: py-cpuinfo
+Architecture: all
+Depends: python3-cpuinfo,
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Python script for getting CPU info
+ py-cpuinfo provides a simple way to get CPU infos from the command line.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4406c98
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: py-cpuinfo
+Source: https://github.com/workhorsy/py-cpuinfo
+
+Files: *
+Copyright: 2014-2017 Matthew Brennan Jones <matthew.brennan.jones at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Hugo Lefeuvre <hle at debian.org>
+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.
diff --git a/debian/py-cpuinfo.1 b/debian/py-cpuinfo.1
new file mode 100644
index 0000000..87f1d72
--- /dev/null
+++ b/debian/py-cpuinfo.1
@@ -0,0 +1,7 @@
+.TH PY-CPUINFO "1" "April 2017" "py-cpuinfo " "User Commands"
+.SH NAME
+py-cpuinfo \- Python script for getting CPU info
+.SH SYNOPSIS
+.B py-cpuinfo
+.SH DESCRIPTION
+py-cpuinfo provides a simple way to get CPU information from the command line.
diff --git a/debian/py-cpuinfo.manpages b/debian/py-cpuinfo.manpages
new file mode 100644
index 0000000..c2b4405
--- /dev/null
+++ b/debian/py-cpuinfo.manpages
@@ -0,0 +1 @@
+debian/py-cpuinfo.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..09beda0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=cpuinfo
+export PYBUILD_DEST_DIR_python2=debian/python-$(PYBUILD_NAME)
+export PYBUILD_DEST_DIR_python3=debian/python3-$(PYBUILD_NAME)
+export PYBUILD_DEST_DIR_APP=debian/py-cpuinfo
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_install:
+	dh_auto_install
+	# Move the python3 application to the application package.
+	mkdir -p $(PYBUILD_DEST_DIR_APP)/usr/bin
+	mv $(PYBUILD_DEST_DIR_python3)/usr/bin/cpuinfo $(PYBUILD_DEST_DIR_APP)/usr/bin/py-cpuinfo
+	# Remove the python2 application.
+	rm $(PYBUILD_DEST_DIR_python2)/usr/bin/cpuinfo
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..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cda0c27
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.debian.net/py-cpuinfo/py-cpuinfo-(.+)\.(?: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-cpuinfo.git



More information about the Python-modules-commits mailing list