From 02411b49c76e5ccf11e1f024de0ae26f0ca413fe Mon Sep 17 00:00:00 2001 From: Andrey Rahmatullin <wrar@debian.org> Date: Sat, 10 Aug 2019 20:15:45 +0500 Subject: [PATCH] Drop Python 2 support. --- debian/changelog | 10 ++++++++-- debian/control | 22 +--------------------- debian/rules | 8 +------- 3 files changed, 10 insertions(+), 30 deletions(-) diff --git a/debian/changelog b/debian/changelog index e1e97e7..19767f7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,14 @@ -peewee (3.7.0+dfsg-2) UNRELEASED; urgency=medium +peewee (3.7.0+dfsg-2) unstable; urgency=medium + * Team upload. + + [ Ondřej Nový ] * Use debhelper-compat instead of debian/compat. - -- Ondřej Nový <onovy@debian.org> Sat, 20 Jul 2019 00:21:43 +0200 + [ Andrey Rahmatullin ] + * Drop Python 2 support. + + -- Andrey Rahmatullin <wrar@debian.org> Sat, 10 Aug 2019 20:15:33 +0500 peewee (3.7.0+dfsg-1) unstable; urgency=medium diff --git a/debian/control b/debian/control index 2bd6c23..f4539c0 100644 --- a/debian/control +++ b/debian/control @@ -3,15 +3,11 @@ Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian. Uploaders: Adrian Vondendriesch <adrian.vondendriesch@credativ.de> Section: python Priority: optional -Build-Depends: cython, - cython3, +Build-Depends: cython3, debhelper-compat (= 9), dh-python, libsqlite3-dev, help2man, - python-all-dev (>= 2.6.6-3), - python-pytest, - python-setuptools, python3-all-dev, python3-pytest, python3-setuptools, @@ -21,22 +17,6 @@ Homepage: https://github.com/coleifer/peewee/ Vcs-Git: https://salsa.debian.org/python-team/modules/peewee.git Vcs-Browser: https://salsa.debian.org/python-team/modules/peewee -Package: python-peewee -Architecture: any -Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} -Recommends: python-psycopg2, python-mysqldb | python-pymysql, python-peewee-doc -Description: Simple ORM for PostgreSQL, MySQL and SQLite (Python 2) - Peewee is a simple and small ORM. It has few (but expressive) - concepts, making it easy to learn and intuitive to use. - . - * A small, expressive ORM - * Written in python with support for versions 2.6+ and 3.2+. - * built-in support for sqlite, mysql and postgresql numerous - extensions available (postgres hstore/json/arrays, sqlite - full-text-search, schema migrations, and much more). - . - This is the Python 2 package. - Package: python3-peewee Architecture: any Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} diff --git a/debian/rules b/debian/rules index a8f4196..4463682 100755 --- a/debian/rules +++ b/debian/rules @@ -2,12 +2,9 @@ include /usr/share/dpkg/pkg-info.mk -PYVERSIONS=$(shell pyversions -i) -PY3VERSIONS=$(shell py3versions -i) - export PYBUILD_NAME=peewee %: - dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild + dh $@ --with python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_auto_build @@ -16,9 +13,6 @@ override_dh_auto_build: override_dh_install: dh_install - # Remove the python 2 binaries - rm debian/python-peewee/usr/bin/pwiz.py - mkdir -p debian/peewee/usr/bin/ mv debian/python3-peewee/usr/bin/pwiz.py \ debian/peewee/usr/bin/pwiz -- GitLab