[Python-modules-commits] [myhdl] 02/02: Import Debian patch 0.9.0-1

Steffen Möller moeller at moszumanska.debian.org
Thu Nov 10 23:23:52 UTC 2016


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

moeller pushed a commit to branch master
in repository myhdl.

commit fa17267656005f7a989ade0d9bd024a733441ee9
Author: Steffen Moeller <moeller at debian.org>
Date:   Thu Nov 10 11:14:55 2016 +0100

    Import Debian patch 0.9.0-1
---
 debian/changelog                      |  5 ++++
 debian/compat                         |  1 +
 debian/control                        | 49 +++++++++++++++++++++++++++++++++++
 debian/copyright                      | 32 +++++++++++++++++++++++
 debian/manpages                       |  1 +
 debian/python-myhdl-doc.doc-base      | 15 +++++++++++
 debian/python-myhdl-doc.docs          |  1 +
 debian/python-myhdl.lintian-overrides |  2 ++
 debian/rules                          | 16 ++++++++++++
 debian/source/format                  |  1 +
 debian/source/options                 |  1 +
 debian/watch                          | 14 ++++++++++
 12 files changed, 138 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5738ba8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+myhdl (0.9.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #843902)
+
+ -- Steffen Moeller <moeller at debian.org>  Thu, 10 Nov 2016 11:14:55 +0100
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..03cec1f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: myhdl
+Section: electronics
+Priority: optional
+Maintainer: Steffen Moeller <moeller at debian.org>
+Build-Depends: debhelper (>= 9), dh-python, python-all, python-setuptools, python3-all, python3-setuptools
+Build-Depends-Indep: python-sphinx | python3-sphinx
+Standards-Version: 3.9.8
+Homepage: http://www.myhdl.org
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/myhdl.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/myhdl.git/
+#Testsuite: autopkgtest-pkg-python
+
+Package: python-myhdl
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-myhdl-doc
+Description: Hardware description generating framework (Python 2)
+ MyHDL provides Python routines for embedding programmable hardware,
+ as in Field Programmable Gate Arrays (FPGA) in regular python code.
+ It may be used for complete products and for test environments
+ alike, can generate and interact with existing VHDL or Verilog code.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-myhdl
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-myhdl-doc
+Description: Hardware description generating framework (Python 3)
+ MyHDL provides Python routines for embedding programmable hardware,
+ as in Field Programmable Gate Arrays (FPGA) in regular python code.
+ It may be used for complete products and for test environments
+ alike, can generate and interact with existing VHDL or Verilog code.
+ .
+ This package installs the library for Python 3.
+
+Package: python-myhdl-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: Hardware description generating framework (common documentation)
+ MyHDL provides Python routines for embedding programmable hardware,
+ as in Field Programmable Gate Arrays (FPGA) in regular python code.
+ It may be used for complete products and for test environments
+ alike, can generate and interact with existing VHDL or Verilog code.
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..296f2e6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: MyHDL
+Source: https://github.com/jandecaluwe/myhdl/releases
+
+Files: *
+Copyright: 2003-2015 Jan Decaluwe <jan at jandecaluwe.com>
+License: LGPL-2.0+
+
+Files: doc/*
+Copyright: 2015 Jan Decaluwe <jan at jandecaluwe.com>
+License: LGPL-2.0+
+
+Files: debian/*
+Copyright: 2016 Steffen Moeller <moeller at debian.org>
+License: LGPL-2.0+
+
+License: LGPL-2.0+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser 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
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in "/usr/share/common-licenses/LGPL-2".
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..5f517d8
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+build/man/myhdl.1
diff --git a/debian/python-myhdl-doc.doc-base b/debian/python-myhdl-doc.doc-base
new file mode 100644
index 0000000..aca4bbf
--- /dev/null
+++ b/debian/python-myhdl-doc.doc-base
@@ -0,0 +1,15 @@
+Document: myhdl
+Title: Debian MyHDL Manual
+Author: Jan Decaluwe
+Abstract: Empower hardware designers with the elegance and simplicity of the Python language.
+ .
+ MyHDL is a free, open-source package for using Python as a hardware
+ description and verification language. Python is a very high level
+ language, and hardware designers can use its full power to model and
+ simulate their designs. Moreover, MyHDL can convert a design to Verilog
+ or VHDL. This provides a path into a traditional design flow.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/python-myhdl-doc/html/index.html
+Files: /usr/share/doc/python-myhdl-doc/html/*.html /usr/share/doc/python-myhdl-doc/html/*/*.html
diff --git a/debian/python-myhdl-doc.docs b/debian/python-myhdl-doc.docs
new file mode 100644
index 0000000..6d28621
--- /dev/null
+++ b/debian/python-myhdl-doc.docs
@@ -0,0 +1 @@
+build/html
diff --git a/debian/python-myhdl.lintian-overrides b/debian/python-myhdl.lintian-overrides
new file mode 100644
index 0000000..d22132e
--- /dev/null
+++ b/debian/python-myhdl.lintian-overrides
@@ -0,0 +1,2 @@
+# The 'electronics' section is in sync with other HDL packages
+python-myhdl binary: wrong-section-according-to-package-name python-myhdl => python
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2c936f3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME=myhdl
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild 
+
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/source/ build/html # HTML generator
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman  doc/source/ build/man # Manpage generator
+
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..f7999e6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,14 @@
+# Compulsory line, this is a version 4 file
+version=4
+
+# GitHub hosted projects
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
+   https://github.com/jandecaluwe/myhdl/tags \
+   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
+
+# PyPI
+# https://pypi.debian.net/myhdl/myhdl-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+
+# Direct Git
+# opts="mode=git" http://git.example.com/myhdl.git \
+#   refs/tags/v([\d\.]+) debian uupdate

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



More information about the Python-modules-commits mailing list