[med-svn] [Git][python-team/packages/python-easydev][master] 7 commits: do not exclude appdirs.py anymore, it is just a thin wrapper now
Alexandre Detiste (@detiste-guest)
gitlab at salsa.debian.org
Sun Apr 28 22:02:37 BST 2024
Alexandre Detiste pushed to branch master at Debian Python Team / packages / python-easydev
Commits:
522e8bd6 by Alexandre Detiste at 2024-04-28T22:56:58+02:00
do not exclude appdirs.py anymore, it is just a thin wrapper now
- - - - -
108d4237 by Alexandre Detiste at 2024-04-28T22:57:26+02:00
redo tarball
- - - - -
e0cf7294 by Alexandre Detiste at 2024-04-28T22:59:18+02:00
New upstream version 0.13.2
- - - - -
002b4b4b by Alexandre Detiste at 2024-04-28T22:59:18+02:00
Update upstream source from tag 'upstream/0.13.2'
Update to upstream version '0.13.2'
with Debian dir 02749c2b931c9a07d3c366476823422c5b41d306
- - - - -
21d4a7f7 by Alexandre Detiste at 2024-04-28T23:01:00+02:00
New upstream version 0.13.2+dfsg1
- - - - -
73670f48 by Alexandre Detiste at 2024-04-28T23:01:00+02:00
Update upstream source from tag 'upstream/0.13.2+dfsg1'
Update to upstream version '0.13.2+dfsg1'
with Debian dir 02749c2b931c9a07d3c366476823422c5b41d306
- - - - -
9529e147 by Alexandre Detiste at 2024-04-28T23:02:18+02:00
redo
- - - - -
5 changed files:
- debian/changelog
- debian/copyright
- debian/rules
- debian/watch
- + easydev/appdirs.py
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+python-easydev (0.13.2+dfsg1-1) unstable; urgency=medium
+
+ * Team upload.
+ * redo tarball
+ * do not exclude appdirs.py anymore,
+ it is just a thin compatibility wrapper now
+
+ -- Alexandre Detiste <tchet at debian.org> Sun, 28 Apr 2024 23:01:25 +0200
+
python-easydev (0.13.2+dfsg-1) unstable; urgency=medium
* Team upload.
=====================================
debian/copyright
=====================================
@@ -2,7 +2,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: easydev
Source: https://pypi.python.org/pypi/easydev
Files-Excluded:
- easydev/appdirs.py
easydev.egg-info
easydev/share/themes/*/google_*.html
.pytest_cache
=====================================
debian/rules
=====================================
@@ -2,7 +2,6 @@
export LC_ALL=C.UTF-8
export PYBUILD_NAME=easydev
-export PYBUILD_TEST_ARGS=-k 'not test_appdirs and not test_config'
#ifneq ($(PYBUILD_AUTOPKGTEST), 1)
#export PYBUILD_BEFORE_TEST={interpreter} {dir}/setup.py egg_info -e {build_dir}
=====================================
debian/watch
=====================================
@@ -1,3 +1,3 @@
version=4
-opts="repacksuffix=+dfsg,dversionmangle=auto,repack,compression=xz" \
+opts="repacksuffix=+dfsg1,dversionmangle=auto,repack,compression=xz" \
https://github.com/cokelaer/easydev/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
=====================================
easydev/appdirs.py
=====================================
@@ -0,0 +1,46 @@
+import os
+import sys
+
+from platformdirs import (
+ site_config_dir,
+ site_data_dir,
+ user_cache_dir,
+ user_config_dir,
+ user_data_dir,
+ user_log_dir,
+)
+
+
+class AppDirs(object):
+ """Convenience wrapper for getting application dirs."""
+
+ def __init__(self, appname, appauthor=None, version=None, roaming=False, multipath=False):
+ self.appname = appname
+ self.appauthor = appauthor
+ self.version = version
+ self.roaming = roaming
+ self.multipath = multipath
+
+ @property
+ def user_data_dir(self):
+ return user_data_dir(self.appname, self.appauthor, version=self.version, roaming=self.roaming)
+
+ @property
+ def site_data_dir(self):
+ return site_data_dir(self.appname, self.appauthor, version=self.version, multipath=self.multipath)
+
+ @property
+ def user_config_dir(self):
+ return user_config_dir(self.appname, self.appauthor, version=self.version, roaming=self.roaming)
+
+ @property
+ def site_config_dir(self):
+ return site_config_dir(self.appname, self.appauthor, version=self.version, multipath=self.multipath)
+
+ @property
+ def user_cache_dir(self):
+ return user_cache_dir(self.appname, self.appauthor, version=self.version)
+
+ @property
+ def user_log_dir(self):
+ return user_log_dir(self.appname, self.appauthor, version=self.version)
View it on GitLab: https://salsa.debian.org/python-team/packages/python-easydev/-/compare/aa66ea1e1d80744df191066026e3fe5888407fa6...9529e147d54d671524d6961451a784bbedd0e381
--
View it on GitLab: https://salsa.debian.org/python-team/packages/python-easydev/-/compare/aa66ea1e1d80744df191066026e3fe5888407fa6...9529e147d54d671524d6961451a784bbedd0e381
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240428/575153b6/attachment-0001.htm>
More information about the debian-med-commit
mailing list