diff --git a/debian/changelog b/debian/changelog index e1e97e7677e968dd9b5bbd0a2bfc7de244864367..19767f735c25c92b18ba198a7f493ee70b556872 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 2bd6c237b5e49ede6bb59ea835b5ac02803dcd63..f4539c0af7cb48ff63bce6e92a71b140837fb931 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 a8f4196447e76609143ad188a4672c70f0a28883..446368228a680e7c4916aecdf76cb53aba9366de 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