From 48c318667626bf075d183f88fa98d5b9608fe450 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 8 Oct 2016 17:42:34 +0300 Subject: Make it possible to release with bumper --- NEWS | 5 +++++ cachedir | 5 ++--- debian/changelog | 6 ++++++ debian/compat | 2 +- debian/control | 9 ++++----- setup.py | 3 ++- 6 files changed, 20 insertions(+), 10 deletions(-) diff --git a/NEWS b/NEWS index 314ab0e..2f899ae 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,11 @@ cachedir NEWS ============ +Version 1.3+git, not yet released +-------------------------------- + +* Require Python 2.7. + Version 1.3, released 2015-10-13 -------------------------------- diff --git a/cachedir b/cachedir index 07d7a3d..557a7b3 100755 --- a/cachedir +++ b/cachedir @@ -19,8 +19,7 @@ import cliapp import os import sys - -__version__ = '1.3' +import cachedirlib class Cachedir(cliapp.Application): @@ -69,4 +68,4 @@ class Cachedir(cliapp.Application): self.output.write('%s\n' % dirname) -Cachedir(version=__version__).run() +Cachedir(version=cachedirlib.__version__).run() diff --git a/debian/changelog b/debian/changelog index f9b1317..feb7dc1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +cachedir (1.3+git-1) UNRELEASED; urgency=medium + + * Change minimum Python to be 2.7 + + -- Lars Wirzenius Sat, 08 Oct 2016 17:39:08 +0300 + cachedir (1.3-1) unstable; urgency=medium * Force jessie build. diff --git a/debian/compat b/debian/compat index 7f8f011..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +9 diff --git a/debian/control b/debian/control index b977948..f9f97da 100644 --- a/debian/control +++ b/debian/control @@ -2,15 +2,14 @@ Source: cachedir Maintainer: Lars Wirzenius Section: misc Priority: optional -Standards-Version: 3.9.3 -Build-Depends: debhelper (>= 7.3.8), python-all (>= 2.6.6-3~), +Standards-Version: 3.9.8 +Build-Depends: debhelper (>= 9~), python-all (>= 2.7~), python-cliapp -X-Python-Version: >= 2.6 +X-Python-Version: >= 2.7 Package: cachedir Architecture: all -Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.6), - python-cliapp +Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.7), python-cliapp Description: cache directory tagging utility The cache directory tag specifiction (http://www.bford.info/cachedir/) is useful for marking directories as cache directories. Such directories diff --git a/setup.py b/setup.py index 7405b77..7bfa97c 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,7 @@ import os import shutil import cliapp +import cachedirlib class GenerateManpage(build): @@ -65,7 +66,7 @@ class Check(Command): setup(name='cachedir', - version='1.3', + version=cachedirlib.__version__, description='Tag/untag cache directories', author='Lars Wirzenius', author_email='liw@liw.fi', -- cgit v1.2.1