Bug#838589: pg8000: please provide Python 3 package

2016-10-11 Thread Rahul Amaram

On Wednesday 05 October 2016 01:18 PM, Dominik George wrote:

I have created the package and signed it. But upload to debian queue is

failing. Will retry again tomorrow.

How is it failing?

-nik
I retried a few days back and the changes were rejected saying that the 
signature was already seen. I have rebuilt the package and uploaded 
again (I could have actually just refreshed the signature). Waiting for 
confirmation that the package was uploaded successfully.



--
http://rahul.amaram.name




Bug#838589: pg8000: please provide Python 3 package

2016-10-05 Thread Dominik George
>I have created the package and signed it. But upload to debian queue is
>
>failing. Will retry again tomorrow.

How is it failing?

-nik
-- 
PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17 FD26 B79A 3C16 A0C4 F296

Dominik George · Mobil: +49-1520-1981389

Teckids e.V. · FrOSCon e.V.
Fellowship of the FSFE · Piratenpartei Deutschland
Opencaching Deutschland e.V. · Debian Contributor

LPIC-3 Linux Enterprise Professional (Security)



Bug#838589: pg8000: please provide Python 3 package

2016-10-04 Thread Rahul Amaram
I have created the package and signed it. But upload to debian queue is 
failing. Will retry again tomorrow.


Thanks,
Rahul.

On Tuesday 04 October 2016 08:02 AM, Rahul Amaram wrote:


Thanks Dominik. Will get this closed today for sure.

Thanks,
Rahul.






--
http://rahul.amaram.name



Bug#838589: pg8000: please provide Python 3 package

2016-10-03 Thread Rahul Amaram


Thanks Dominik. Will get this closed today for sure.

Thanks,
Rahul.

On Thursday 29 September 2016 08:17 PM, Dominik George wrote:

Source: pg8000
Followup-For: Bug #838589
Control: tags -1 + patch

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

find attached two patches:

  1. Enable Python 3 build

  This patch enables the build for Python 3, along with some other bits.
  It adds a new package python3-pg8000, the python-pg8000 is untouched.
  You do not need to expect any breakage in calendarserver or anywhere
  else.


  2. Update packaging

  While at it, I have done some minor stuff to bring the package
  up-to-date. You may apply this patch if you feel like. It adds myself
  to Uploaders, in case you want further asssistance in maintaining the
  package (in the first palce, to make lintian silent while you haven't
  rewritten the changelog). This patch is not necessary for this bug, but
  I think you won't get the pacakge uploaded without updating to newer
  standards ;).

Cheers,
Nik

-BEGIN PGP SIGNATURE-

iQJhBAEBCABLBQJX7SmbMRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MSHG5pa0BuYXR1cmFsbmV0LmRlAAoJELeaPBagxPKW
098P/0ksi3peSg3KCrORhC3G5SoGLD9OTdzkKM3mt05qo4lfn8yKkE9aPFlwZ7lx
ikSV15D/FB2kHLx/COPsXmVxjr0fSNuz05NYUm1hVlp2bM5Lug7jeSULDgLKIDEP
hthDpJD/vWSDxj33LksElZq9r9rS6M46Sl6YViYAs/UJXMXAJ7AsovlKXcZYF0Oc
3M4pyWNXXAdLBnCTcJJ9etm1VWC7IZQ2J5YFqbDLP/LV6TsqDCHGUOzfDqgdfTZt
jbuTm0s9atCItpUt1QVCwOEBT0L2Laq1bPYHFYvFarv0fEA2tLuQBwHN+e9sdCM3
DGRZE3p3ZlgkyFY+y260+DAGanCNaZKWyBOLPnj/X8UdPrlsbaPkkxSybIPuMNNT
sMOnVAAdzTv4mAI4YNXPZRQD3kIduR2oZjgNPKYj3Oiait3SIeHVLyQnD0MQBtJG
qF0hD48a1TjJs9/0vtpBINeNM77xb263QAij0K2Z8MHd1TvsalwzTZAccYYP5ATK
b+JgjX+wMqcarfFN3N//QesJqozctliuMdPSiZ2/eK8vM3ZvWURkbeNAXpS4F9df
VXazMWrVTt5LE9R15d3tPwZHc4+52RTNPBJkFsgBsQv1ugKz1fXXbdiFIgsJnnDP
pQanrukmXogaMCXGxpXHvibtgGlnbuowxfVXAIFj7tsg/WVv
=qGtL
-END PGP SIGNATURE-



--
http://rahul.amaram.name



Bug#838589: pg8000: please provide Python 3 package

2016-09-29 Thread Dominik George
Source: pg8000
Followup-For: Bug #838589
Control: tags -1 + patch

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

find attached two patches:

 1. Enable Python 3 build

 This patch enables the build for Python 3, along with some other bits.
 It adds a new package python3-pg8000, the python-pg8000 is untouched.
 You do not need to expect any breakage in calendarserver or anywhere
 else.


 2. Update packaging

 While at it, I have done some minor stuff to bring the package
 up-to-date. You may apply this patch if you feel like. It adds myself
 to Uploaders, in case you want further asssistance in maintaining the
 package (in the first palce, to make lintian silent while you haven't
 rewritten the changelog). This patch is not necessary for this bug, but
 I think you won't get the pacakge uploaded without updating to newer
 standards ;).

Cheers,
Nik

-BEGIN PGP SIGNATURE-

iQJhBAEBCABLBQJX7SmbMRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MSHG5pa0BuYXR1cmFsbmV0LmRlAAoJELeaPBagxPKW
098P/0ksi3peSg3KCrORhC3G5SoGLD9OTdzkKM3mt05qo4lfn8yKkE9aPFlwZ7lx
ikSV15D/FB2kHLx/COPsXmVxjr0fSNuz05NYUm1hVlp2bM5Lug7jeSULDgLKIDEP
hthDpJD/vWSDxj33LksElZq9r9rS6M46Sl6YViYAs/UJXMXAJ7AsovlKXcZYF0Oc
3M4pyWNXXAdLBnCTcJJ9etm1VWC7IZQ2J5YFqbDLP/LV6TsqDCHGUOzfDqgdfTZt
jbuTm0s9atCItpUt1QVCwOEBT0L2Laq1bPYHFYvFarv0fEA2tLuQBwHN+e9sdCM3
DGRZE3p3ZlgkyFY+y260+DAGanCNaZKWyBOLPnj/X8UdPrlsbaPkkxSybIPuMNNT
sMOnVAAdzTv4mAI4YNXPZRQD3kIduR2oZjgNPKYj3Oiait3SIeHVLyQnD0MQBtJG
qF0hD48a1TjJs9/0vtpBINeNM77xb263QAij0K2Z8MHd1TvsalwzTZAccYYP5ATK
b+JgjX+wMqcarfFN3N//QesJqozctliuMdPSiZ2/eK8vM3ZvWURkbeNAXpS4F9df
VXazMWrVTt5LE9R15d3tPwZHc4+52RTNPBJkFsgBsQv1ugKz1fXXbdiFIgsJnnDP
pQanrukmXogaMCXGxpXHvibtgGlnbuowxfVXAIFj7tsg/WVv
=qGtL
-END PGP SIGNATURE-
>From 8ae65d9913b29c3563fedea6efc1921176d6a9ba Mon Sep 17 00:00:00 2001
From: Dominik George 
Date: Thu, 29 Sep 2016 16:16:23 +0200
Subject: [PATCH 1/2] Enable Python 3 build.

---
 debian/changelog |  6 ++
 debian/control   | 22 --
 debian/rules |  4 +++-
 3 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 03f156b..6f55b1f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pg8000 (1.10.2-2) unstable; urgency=medium
+
+  * Enable build for Python 3. (Closes: #838589)
+
+ -- Dominik George   Thu, 29 Sep 2016 16:15:08 +0200
+
 pg8000 (1.10.2-1) unstable; urgency=low
 
   * Initial package import (Closes: #801859)
diff --git a/debian/control b/debian/control
index 9142ed2..6a3cc1b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: pg8000
 Section: python
 Priority: optional
 Maintainer: Rahul Amaram 
-Build-Depends: debhelper (>= 9), python, dh-python, python-setuptools
+Build-Depends: debhelper (>= 9), python-all, python3-all, dh-python, python-setuptools, python3-setuptools, python-six, python3-six
 Standards-Version: 3.9.6
 Homepage: https://github.com/mfenniak/pg8000
 Vcs-Git: https://anonscm.debian.org/git/calendarserver/pg8000.git
@@ -11,7 +11,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/calendarserver/pg8000.git
 Package: python-pg8000
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}, python-six
-Description: Pure-Python PostgreSQL Driver
+Description: Pure-Python PostgreSQL Driver (Python 2)
  pg8000 is a Pure-Python interface to the PostgreSQL database engine.  It is
  one of many PostgreSQL interfaces for the Python programming language. pg8000
  is somewhat distinctive in that it is written entirely in Python and does not
@@ -21,3 +21,21 @@ Description: Pure-Python PostgreSQL Driver
  .
  pg8000's name comes from the belief that it is probably about the 8000th
  PostgreSQL interface for Python.
+ .
+ This package contains the Python 2 version.
+
+Package: python3-pg8000
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, python3-six
+Description: Pure-Python PostgreSQL Driver (Python 3)
+ pg8000 is a Pure-Python interface to the PostgreSQL database engine.  It is
+ one of many PostgreSQL interfaces for the Python programming language. pg8000
+ is somewhat distinctive in that it is written entirely in Python and does not
+ rely on any external libraries (such as a compiled Python module, or
+ PostgreSQL's libpq library). pg8000 supports the standard Python DB-API
+ version 2.0.
+ .
+ pg8000's name comes from the belief that it is probably about the 8000th
+ PostgreSQL interface for Python.
+ .
+ This package contains the Python 3 version.
diff --git a/debian/rules b/debian/rules
index de1bd88..15b013f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,5 +4,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export PYBUILD_NAME=pg8000
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3 --buildsystem=pybuild
-- 
2.9.3

>From a6043be1aa00baf90f1c06886a126bd6c55b9a7b Mon Sep 17 00:00:00 2001
From: Dominik George 
Date: Thu, 29 Sep 2016 16:35:04 +0200
Subject: [PATCH 2/2] Update packaging.

-

Bug#838589: pg8000: please provide Python 3 package

2016-09-25 Thread Dominik George
>Will look into it sometime this week. I mainly need to ensure that 
>modifying / upgrading doesn't break compatibility with calendarserver.

How would enabling a new python3-pg8000 package without touching the 
python-pg8000 package break anything that depends on python-pg8000?

-nik
-- 
PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17 FD26 B79A 3C16 A0C4 F296

Dominik George · Mobil: +49-1520-1981389

Teckids e.V. · FrOSCon e.V.
Fellowship of the FSFE · Piratenpartei Deutschland
Opencaching Deutschland e.V. · Debian Contributor

LPIC-3 Linux Enterprise Professional (Security)



Bug#838589: pg8000: please provide Python 3 package

2016-09-24 Thread Rahul Amaram
Will look into it sometime this week. I mainly need to ensure that 
modifying / upgrading doesn't break compatibility with calendarserver.


Thanks,
Rahul.

On Thursday 22 September 2016 10:38 PM, Dominik George wrote:

Source: pg8000
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

The package does not seem to build a python3-pg8000 package, although,
according to upstream, pg8000 works with Python 3.

I am currently packaging the testing.postgresql package for unit testing
database applications, and it uses the pg8000 interface.

Could you please enable the build for Python 3 (and, if necessary for
doing so, package the latest upstream version beforehand)?

- -- System Information:
Debian Release: stretch/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: systemd (via /run/systemd/system)

-BEGIN PGP SIGNATURE-

iQJhBAEBCABLBQJX5A/9MRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MSHG5pa0BuYXR1cmFsbmV0LmRlAAoJELeaPBagxPKW
CKEP/34JRg9TEbmJR7vCmnhCkfQj629ybEWK5QTrhFCO5Cfv+xAu/mdA/izC2U2U
4uTXMhS3JoU+dwEVIwFtXXE8llIgvpDf4JvNjJt/BEVjjL/yMoF4t56QAmk9yD80
fFWEMWijXqDC0uvmqjGSCCwV3zR3ycXn1A0uB0Nh9IKbvcph1igTUhlLDlRJ1zMW
v09N5Ln2FL0oXlNEncqSa9Z9bmToyG7yCrFNrXTyE0uhgD4zpFLEZAjRfy1qbAco
rJXP3c4jzXj2rey2HplcgTaTDu03T1WjsECLitVv7aB4ugQeOWTFqgP2Cx1ONIRp
37iBu+mRVrTh1sPqTXAaYpkJFmroU7Fk9UG1PAB8dOaFX4qBTi6KYWgYtA6sabER
6I97Vj4ADhyqZFOGypoK0sUQaSi/iUFskwEVa9G0rW4Ln7RlKUXeRtlEs8JQllyg
t+OqHSLp9sUI6X2Kj9EsDF6ImYDW49GESpMIVnaahpEQEtA/Yv99xGsCN4GufR8O
v6SQEIbNUZG0UxOYhAWPHEQcbJD7Kw8hr5/tKuPlVE/f6gUg8eAvGvVgYNDjYCJv
WoUsibNhzwAnNmvsswQetgL5GbWXcBGsn/sBEtHdxYV/W0MTSa+25/QinQYTlfeQ
lQUQ3aKOCUGPRGk93r6c0neY187WmeiowI91woBLdIuud7r6
=VjWb
-END PGP SIGNATURE-



--
http://rahul.amaram.name



Bug#838589: pg8000: please provide Python 3 package

2016-09-22 Thread Dominik George
Source: pg8000
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

The package does not seem to build a python3-pg8000 package, although,
according to upstream, pg8000 works with Python 3.

I am currently packaging the testing.postgresql package for unit testing
database applications, and it uses the pg8000 interface.

Could you please enable the build for Python 3 (and, if necessary for
doing so, package the latest upstream version beforehand)?

- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: systemd (via /run/systemd/system)

-BEGIN PGP SIGNATURE-

iQJhBAEBCABLBQJX5A/9MRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MSHG5pa0BuYXR1cmFsbmV0LmRlAAoJELeaPBagxPKW
CKEP/34JRg9TEbmJR7vCmnhCkfQj629ybEWK5QTrhFCO5Cfv+xAu/mdA/izC2U2U
4uTXMhS3JoU+dwEVIwFtXXE8llIgvpDf4JvNjJt/BEVjjL/yMoF4t56QAmk9yD80
fFWEMWijXqDC0uvmqjGSCCwV3zR3ycXn1A0uB0Nh9IKbvcph1igTUhlLDlRJ1zMW
v09N5Ln2FL0oXlNEncqSa9Z9bmToyG7yCrFNrXTyE0uhgD4zpFLEZAjRfy1qbAco
rJXP3c4jzXj2rey2HplcgTaTDu03T1WjsECLitVv7aB4ugQeOWTFqgP2Cx1ONIRp
37iBu+mRVrTh1sPqTXAaYpkJFmroU7Fk9UG1PAB8dOaFX4qBTi6KYWgYtA6sabER
6I97Vj4ADhyqZFOGypoK0sUQaSi/iUFskwEVa9G0rW4Ln7RlKUXeRtlEs8JQllyg
t+OqHSLp9sUI6X2Kj9EsDF6ImYDW49GESpMIVnaahpEQEtA/Yv99xGsCN4GufR8O
v6SQEIbNUZG0UxOYhAWPHEQcbJD7Kw8hr5/tKuPlVE/f6gUg8eAvGvVgYNDjYCJv
WoUsibNhzwAnNmvsswQetgL5GbWXcBGsn/sBEtHdxYV/W0MTSa+25/QinQYTlfeQ
lQUQ3aKOCUGPRGk93r6c0neY187WmeiowI91woBLdIuud7r6
=VjWb
-END PGP SIGNATURE-