[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-devel:18334] py3cairo 更新
こんにちは。あかべです。
py3cairo パッケージを更新したので、どなたかアップロードしていただけませんか?
http://mentors.debian.net/debian/pool/main/p/py3cairo/py3cairo_1.10.0+dfsg-3.dsc
更新内容:
1. DEB_BUILD_OPTIONS=nocheck が指定された時にテストをスキップするようにしました。(#681034 [1])
2. compat=9 にし、Hardening オプションを付加するようにしました。
3. ビルドを行う waf-uncompressed に -v オプションを付加し、gcc のビルドコマンドが表示されるようにしました。
4. DMアップロードを有効化しました。
差分を添付したので、確認おねがいします。
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681034
--
Koichi Akabe
vbkaisetsu at {gmail.com, debian.or.jp}
Index: trunk/debian/control
===================================================================
--- trunk/debian/control (revision 21240)
+++ trunk/debian/control (revision 22421)
@@ -3,7 +3,8 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Koichi Akabe <vbkaisetsu@xxxxxxxxx>
-Build-Depends: debhelper (>= 7.0.50~), python3-all-dev (>= 3.1), libcairo2-dev (>= 1.10.0), python-sphinx (>= 1.0.7+dfsg) | python3-sphinx, python3-pytest
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 9.0.0), python3-all-dev (>= 3.1), libcairo2-dev (>= 1.10.0), python-sphinx (>= 1.0.7+dfsg) | python3-sphinx, python3-pytest
Standards-Version: 3.9.3
Homepage: http://cairographics.org/pycairo/
X-Python3-Version: >= 3.1
Index: trunk/debian/compat
===================================================================
--- trunk/debian/compat (revision 21240)
+++ trunk/debian/compat (revision 22421)
@@ -1 +1 @@
-7
+9
Index: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog (revision 21240)
+++ trunk/debian/changelog (revision 22421)
@@ -1,3 +1,16 @@
+py3cairo (1.10.0+dfsg-3) unstable; urgency=low
+
+ * debian/rules
+ - support DEB_BUILD_OPTIONS=nocheck (Closes: #681034)
+ - add -v flag to waf to output verbose log
+ * debian/compat
+ - up to 9 to add hardening flags
+ * debian/control
+ - update debhelper version to 9
+ - enable DM-Upload
+
+ -- Koichi Akabe <vbkaisetsu@xxxxxxxxx> Tue, 10 Jul 2012 22:52:04 +0900
+
py3cairo (1.10.0+dfsg-2) unstable; urgency=low
* debian/rules
Index: trunk/debian/rules
===================================================================
--- trunk/debian/rules (revision 21240)
+++ trunk/debian/rules (revision 22421)
@@ -20,15 +20,15 @@
rm -r $(pkg)_$(dfsg_version).orig
override_dh_auto_configure:
- for pyversion in $(shell py3versions -vr); do PYTHON=python$$pyversion python$$pyversion $(CURDIR)/waf-uncompressed configure -o build$$pyversion --prefix /usr --nopyc --nopyo; done
+ for pyversion in $(shell py3versions -vr); do PYTHON=python$$pyversion python$$pyversion $(CURDIR)/waf-uncompressed configure -v -o build$$pyversion --prefix /usr --nopyc --nopyo; done
override_dh_auto_build:
- for pyversion in $(shell py3versions -vr); do PYTHON=python$$pyversion python$$pyversion $(CURDIR)/waf-uncompressed build -o build$$pyversion; done
+ for pyversion in $(shell py3versions -vr); do PYTHON=python$$pyversion python$$pyversion $(CURDIR)/waf-uncompressed build -v -o build$$pyversion; done
mkdir -p $(CURDIR)/doc/_build/html
cd $(CURDIR)/doc && $(MAKE) html
override_dh_auto_install:
- for pyversion in $(shell py3versions -vr); do PYTHON=python$$pyversion python$$pyversion $(CURDIR)/waf-uncompressed install -o build$$pyversion --destdir $(CURDIR)/debian/tmp; done
+ for pyversion in $(shell py3versions -vr); do PYTHON=python$$pyversion python$$pyversion $(CURDIR)/waf-uncompressed install -v -o build$$pyversion --destdir $(CURDIR)/debian/tmp; done
override_dh_clean:
dh_clean
@@ -41,7 +41,9 @@
override_dh_sphinxdoc:
(! test -d $(CURDIR)/debian/python3-cairo-doc || dh_sphinxdoc)
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
mkdir $(CURDIR)/test/cairo
ln -s $(CURDIR)/src/__init__.py $(CURDIR)/test/cairo/__init__.py
for pyversion in $(shell py3versions -vr); do ln -sf $(CURDIR)/build$$pyversion/src/*.so $(CURDIR)/test/cairo; cd $(CURDIR)/test && python$$pyversion -m pytest; done
+endif