retitle 758538 RFS: pysdl2/0.9.3+dfsg2-1 [ITP] -- Python wrapper around SDL2
using ctypes
thanks
Dear mentors,
I am looking for a sponsor for my package "pysdl2"
* Package name : pysdl2
Version : 0.9.3+dfsg2-1
Upstream Author : Marcus von Appen <mar...@sysfault.org>
* URL : https://bitbucket.org/marcusva/py-sdl2
* License : CC0 or ZLIB
Section : python
It builds those binary packages:
pysdl2-doc - Python bindings to the SDL2 C-library - documentation
python-sdl2 - Python bindings to the SDL2 C-library (Python 2 build)
python3-sdl2 - Python bindings to the SDL2 C-library (Python 3 build)
To access further information about this package, please visit the following
URL:
http://mentors.debian.net/package/pysdl2
Alternatively, one can download the package with dget using this command:
dget -x
http://mentors.debian.net/debian/pool/main/p/pysdl2/pysdl2_0.9.3+dfsg2-1.dsc
More information about PySDL2 can be obtained from
https://bitbucket.org/marcusva/py-sdl2 .
Changes since the last upload:
* New dfsg tarball without doc/python.inv
* Upgraded to policy 3.9.6, no changes required
* debian/control:
- Add Recommends dependency *-numpy for faster pixelaccess
* debian/copyright:
- Adjust license comment to fully state that the CC0 Public Domain
Dedication is the preferred dedication and ZLIB is just a fallback License
* debian/prune-tarball.sh:
- Drop doc/python.inv which isn't in the preferred form for modifications
and
not used during the build
* debian/README.source:
- Clarify why doc/python.inv was removed from the upstream tarball
A diff to the previous upload is attached.
Special thanks to Thorsten Alteholz for finding the problem in
debian/prune-tarball.sh which caused an inclusion of doc/python.inv.
Regards,
Victor Fayvel
diff --git a/debian/README.source b/debian/README.source
index 932335e..f2f3af0 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -7,6 +7,11 @@ files in the source package are the actual source files.
* doc/modules/images/*.png
* examples/resources/hello.bmp
+Following files are not in a form which is the preferred form for modification
+and were therefore removed:
+
+ * doc/python.inv
+
The DFSG tarball can be generated using the upstream tarball and the script
debian/prune-tarball.sh. The easiest method in doing so is to download the
tarball using uscan.
diff --git a/debian/changelog b/debian/changelog
index 555953f..a13ed65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-pysdl2 (0.9.3+dfsg1-1) unstable; urgency=low
+pysdl2 (0.9.3+dfsg2-1) unstable; urgency=low
* Initial release. (Closes: #731070)
- -- Victor Fayvel <fay...@web.de> Mon, 18 Aug 2014 17:43:23 +0200
+ -- Victor Fayvel <fay...@web.de> Tue, 21 Oct 2014 09:33:24 +0200
diff --git a/debian/control b/debian/control
index 642894a..81bcd28 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org>
Uploaders: Victor Fayvel <fay...@web.de>
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Homepage: https://bitbucket.org/marcusva/py-sdl2
Build-Depends:
debhelper (>= 9),
@@ -18,9 +18,11 @@ Build-Depends:
libsdl2-ttf-2.0-0,
imagemagick,
python-all (>= 2.6.6-3~),
+ python-numpy,
python-setuptools,
python-sphinx,
python3-all (>= 3.2~),
+ python3-numpy,
python3-setuptools,
librsvg2-bin,
xauth,
@@ -38,6 +40,8 @@ Depends:
libsdl2-image-2.0-0,
libsdl2-mixer-2.0-0,
libsdl2-ttf-2.0-0,
+Recommends:
+ python-numpy,
Suggests: pysdl2-doc
Description: Python bindings to the SDL2 C-library (Python 2 build)
PySDL2 is a ctypes based wrapper around the Simple DirectMedia Layer 2 library
@@ -56,6 +60,8 @@ Depends:
libsdl2-image-2.0-0,
libsdl2-mixer-2.0-0,
libsdl2-ttf-2.0-0,
+Recommends:
+ python3-numpy,
Suggests: pysdl2-doc
Description: Python bindings to the SDL2 C-library (Python 3 build)
PySDL2 is a ctypes based wrapper around the Simple DirectMedia Layer 2 library
diff --git a/debian/copyright b/debian/copyright
index 0bc23ee..8e494cd 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -8,16 +8,12 @@ Copyright: 2012-2014, Marcus von Appen <mar...@sysfault.org>
2012-2014, Steven Johnson
2012-2014, Marcel Rodrigues
2012-2014, Dan Gillett
-Comment: upstream also marked the project as public-domain but didn't gave
- information about the exemption of the default copyright restrictions. But
- a fallback license "Zlib" was was given when the files could not be used under
- the public-domain. This part of the "license" was added to this comment
- .
- This software is distributed under the Public Domain.
+Comment:
+ This software is distributed under the Public Domain (CC0 Public Domain
+ Dedication).
.
In cases, where the law prohibits the recognition of Public Domain
- software, this software can be licensed under the zlib lincese as
- stated below
+ software, this software can be licensed under the zlib license
License: CC0 or Zlib
Files: examples/resources/tuffy.ttf sdl2/test/resources/tuffy*.ttf
diff --git a/debian/prune-tarball.sh b/debian/prune-tarball.sh
index 0c156dd..d2c32db 100755
--- a/debian/prune-tarball.sh
+++ b/debian/prune-tarball.sh
@@ -25,6 +25,7 @@ tar pxCf "$TMP" "$filename"
(
# filter non dfsg files
tar tf "$filename"|sed 's/^\.*\/*//' \
+ |egrep -v "^[^/]+/doc/python.inv$" \
|egrep -v "^[^/]+/doc/html(/.*)?$" \
|egrep -v "^[^/]+/doc/modules/images/.*\.png$" \
|egrep -v "^[^/]+/examples/resources/hello\.bmp$" \
diff --git a/doc/python.inv b/doc/python.inv
deleted file mode 100644
index 057235f..0000000
Binary files a/doc/python.inv and /dev/null differ