[arachne-pnr] 01/01: Fix several lintians

Ruben Undheim rubund-guest at moszumanska.debian.org
Wed Oct 7 21:19:22 UTC 2015


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

rubund-guest pushed a commit to branch master
in repository arachne-pnr.

commit 5f45dafbf83773ef458baff429253e854d41f6b1
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Wed Oct 7 23:15:52 2015 +0200

    Fix several lintians
---
 debian/changelog                        |  2 +-
 debian/control                          | 27 +++++++++++++++++++----
 debian/copyright                        | 38 ++++++++++++++++++++-------------
 debian/patches/01_path_to_icebox.patch  | 26 ++--------------------
 debian/patches/02_dont_run_tests.patch  | 25 ++--------------------
 debian/patches/03_fix_install_dir.patch | 24 +--------------------
 debian/rules                            | 24 ---------------------
 7 files changed, 52 insertions(+), 114 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 49992f4..a6d9bbf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 arachne-pnr (0~20150927gitefdb026-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+  * Initial release (Closes: #801230)
 
  -- Ruben Undheim <ruben.undheim at gmail.com>  Wed, 07 Oct 2015 19:28:45 +0400
diff --git a/debian/control b/debian/control
index 56a87fb..ab9499f 100644
--- a/debian/control
+++ b/debian/control
@@ -13,8 +13,17 @@ Vcs-Git: git://anonscm.debian.org/debian-science/packages/arachne-pnr.git
 Package: arachne-pnr-chipdb
 Architecture: all
 Depends: ${misc:Depends},
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Description: Chip db files for arachne-pnr
+ Arachne-pnr implements the place and route step of the hardware compilation
+ process for FPGAs. It accepts as input a technology-mapped netlist in BLIF
+ format, as output by the Yosys synthesis suite for example. It currently
+ targets the Lattice Semiconductor iCE40 family of FPGAs. Its output is a
+ textual bitstream representation for assembly by the IceStorm icepack command.
+ The output of icepack is a binary bitstream which can be uploaded to a harware
+ device.
+ .
+ This package contains the binary versions of the chipdb files needed by
+ arachne-pnr
 
 Package: arachne-pnr
 Architecture: any
@@ -23,5 +32,15 @@ Depends: ${shlibs:Depends},
          arachne-pnr-chipdb,
          yosys,
          icestorm
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Description: Place and route tool for iCE40 family FGPAs
+ Arachne-pnr implements the place and route step of the hardware compilation
+ process for FPGAs. It accepts as input a technology-mapped netlist in BLIF
+ format, as output by the Yosys synthesis suite for example. It currently
+ targets the Lattice Semiconductor iCE40 family of FPGAs. Its output is a
+ textual bitstream representation for assembly by the IceStorm icepack command.
+ The output of icepack is a binary bitstream which can be uploaded to a harware
+ device.
+ .
+ Together, Yosys, arachne-pnr and IceStorm provide an fully open-source
+ Verilog-to-bistream tool chain for iCE40 1K and 8K FPGA development.
+
diff --git a/debian/copyright b/debian/copyright
index 48ab679..e3e5675 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,21 +1,34 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: arachne-pnr
-Source: <url://example.com>
+Source: https://github.com/cseed/arachne-pnr
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: <special license>
- <Put the license of the package here indented by 1 space>
- <This follows the format of Description: lines in control file>
- .
- <Including paragraphs>
+Copyright: Cotton Seed <cotton at alum.mit.edu>
+License: GPL-2
 
-# If you want to use GPL v2 or later for the /debian/* files use 
-# the following clauses, or change it to suit. Delete these two lines
 Files: debian/*
 Copyright: 2015 Ruben Undheim <ruben.undheim at gmail.com>
 License: GPL-2+
+
+
+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; version 2 of the License
+ .
+ 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 <https://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".
+
+
+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
@@ -31,8 +44,3 @@ License: GPL-2+
  .
  On Debian systems, the complete text of the GNU General
  Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
-# Please avoid picking licenses with terms that are more restrictive than the
-# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/patches/01_path_to_icebox.patch b/debian/patches/01_path_to_icebox.patch
index c9b8001..bf34355 100644
--- a/debian/patches/01_path_to_icebox.patch
+++ b/debian/patches/01_path_to_icebox.patch
@@ -1,28 +1,6 @@
-Description: <short summary of the patch>
- TODO: Put a short summary on the line above and replace this paragraph
- with a longer explanation of this change. Complete the meta-information
- with other relevant fields (see below for details). To make it easier, the
- information below has been extracted from the changelog. Adjust it or drop
- it.
- .
- arachne-pnr (0~20150927gitefdb026-1) unstable; urgency=low
- .
-   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+Description: This makes sure that the chipdb files from icestorm are found when
+ building the package
 Author: Ruben Undheim <ruben.undheim at gmail.com>
-
----
-The information above should follow the Patch Tagging Guidelines, please
-checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
-are templates for supplementary fields that you might want to add:
-
-Origin: <vendor|upstream|other>, <url of original patch>
-Bug: <url in upstream bugtracker>
-Bug-Debian: https://bugs.debian.org/<bugnumber>
-Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
-Forwarded: <no|not-needed|url proving that it has been forwarded>
-Reviewed-By: <name and email of someone who approved the patch>
-Last-Update: <YYYY-MM-DD>
-
 --- arachne-pnr-0~20150927gitefdb026.orig/Makefile
 +++ arachne-pnr-0~20150927gitefdb026/Makefile
 @@ -13,7 +13,7 @@ CXXFLAGS = -I$(SRC) -std=c++11 -MD $(OPT
diff --git a/debian/patches/02_dont_run_tests.patch b/debian/patches/02_dont_run_tests.patch
index d3381f7..5fcd163 100644
--- a/debian/patches/02_dont_run_tests.patch
+++ b/debian/patches/02_dont_run_tests.patch
@@ -1,28 +1,7 @@
-Description: <short summary of the patch>
- TODO: Put a short summary on the line above and replace this paragraph
- with a longer explanation of this change. Complete the meta-information
- with other relevant fields (see below for details). To make it easier, the
- information below has been extracted from the changelog. Adjust it or drop
- it.
- .
- arachne-pnr (0~20150927gitefdb026-1) unstable; urgency=low
- .
-   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+Description: The tests depend on fully installed new version of yosys. Skip
+ them during build
 Author: Ruben Undheim <ruben.undheim at gmail.com>
 
----
-The information above should follow the Patch Tagging Guidelines, please
-checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
-are templates for supplementary fields that you might want to add:
-
-Origin: <vendor|upstream|other>, <url of original patch>
-Bug: <url in upstream bugtracker>
-Bug-Debian: https://bugs.debian.org/<bugnumber>
-Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
-Forwarded: <no|not-needed|url proving that it has been forwarded>
-Reviewed-By: <name and email of someone who approved the patch>
-Last-Update: <YYYY-MM-DD>
-
 --- arachne-pnr-0~20150927gitefdb026.orig/Makefile
 +++ arachne-pnr-0~20150927gitefdb026/Makefile
 @@ -46,17 +46,17 @@ simpletest: all tests/test_bv tests/test
diff --git a/debian/patches/03_fix_install_dir.patch b/debian/patches/03_fix_install_dir.patch
index 63129ba..c15f8af 100644
--- a/debian/patches/03_fix_install_dir.patch
+++ b/debian/patches/03_fix_install_dir.patch
@@ -1,28 +1,6 @@
-Description: <short summary of the patch>
- TODO: Put a short summary on the line above and replace this paragraph
- with a longer explanation of this change. Complete the meta-information
- with other relevant fields (see below for details). To make it easier, the
- information below has been extracted from the changelog. Adjust it or drop
- it.
- .
- arachne-pnr (0~20150927gitefdb026-1) unstable; urgency=low
- .
-   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+Description: Upstream doesn't use DESTDIR correctly. Fix
 Author: Ruben Undheim <ruben.undheim at gmail.com>
 
----
-The information above should follow the Patch Tagging Guidelines, please
-checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
-are templates for supplementary fields that you might want to add:
-
-Origin: <vendor|upstream|other>, <url of original patch>
-Bug: <url in upstream bugtracker>
-Bug-Debian: https://bugs.debian.org/<bugnumber>
-Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
-Forwarded: <no|not-needed|url proving that it has been forwarded>
-Reviewed-By: <name and email of someone who approved the patch>
-Last-Update: <YYYY-MM-DD>
-
 --- arachne-pnr-0~20150927gitefdb026.orig/Makefile
 +++ arachne-pnr-0~20150927gitefdb026/Makefile
 @@ -69,16 +69,16 @@ testvg:
diff --git a/debian/rules b/debian/rules
index 5c1cebc..885f378 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,32 +1,8 @@
 #!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
-# output every command that modifies files on the build system.
 #export DH_VERBOSE = 1
 
-# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/default.mk
-
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
-
-# main packaging script based on dh7 syntax
 %:
 	dh $@ 
 
-# dh_make generated override targets
-# This is example for Cmake (See https://bugs.debian.org/641051 )
-#override_dh_auto_configure:
-#	dh_auto_configure -- \
-#	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
-
-
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arachne-pnr.git



More information about the debian-science-commits mailing list