aboutsummaryrefslogtreecommitdiff
path: root/python/traitlets
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-06-06 17:49:45 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-06-11 08:58:56 +0700
commit15fcd97f9f92871112bc0784a9b25ba1ea8f2c14 (patch)
tree4a0a81acae738c7e8d2c6b1e50fb16f9eb72e011 /python/traitlets
parentafbde90334866fe105837b1f6ca14c6e25c9d415 (diff)
python/traitlets: Updated for version 5.2.2.post1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/traitlets')
-rw-r--r--python/traitlets/traitlets.SlackBuild15
-rw-r--r--python/traitlets/traitlets.info6
2 files changed, 12 insertions, 9 deletions
diff --git a/python/traitlets/traitlets.SlackBuild b/python/traitlets/traitlets.SlackBuild
index afa52e6a0ba37..9a344f45782c2 100644
--- a/python/traitlets/traitlets.SlackBuild
+++ b/python/traitlets/traitlets.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=traitlets
-VERSION=${VERSION:-5.2.2}
+VERSION=${VERSION:-5.2.2.post1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -88,12 +88,15 @@ here = os.path.abspath(os.path.dirname(__file__))
pjoin = os.path.join
packages = []
for d, _, _ in os.walk(pjoin(here, 'traitlets')):
- if os.path.exists(pjoin(d, '__init__.py')):
- packages.append(d[len(here)+1:].replace(os.path.sep, '.'))
+ if os.path.exists(pjoin(d, '__init__.py')):
+ packages.append(d[len(here)+1:].replace(os.path.sep, '.'))
+version_ns = {}
+with open(pjoin(here, 'traitlets', '_version.py')) as f:
+ exec(f.read(), {}, version_ns)
setup(name='${PRGNAM}',
- version='${VERSION}',
- packages=packages,
- package_data={'': ['*']},
+ version=version_ns['__version__'],
+ packages=packages,
+ package_data={'': ['*']},
)
EOF
diff --git a/python/traitlets/traitlets.info b/python/traitlets/traitlets.info
index 3bf3573b34567..2ebd08de226c9 100644
--- a/python/traitlets/traitlets.info
+++ b/python/traitlets/traitlets.info
@@ -1,8 +1,8 @@
PRGNAM="traitlets"
-VERSION="5.2.2"
+VERSION="5.2.2.post1"
HOMEPAGE="https://jupyter.org/"
-DOWNLOAD="https://github.com/ipython/traitlets/archive/5.2.2/traitlets-5.2.2.tar.gz"
-MD5SUM="720e22fd704d888eccbfd474f54a1401"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-5.2.2.post1.tar.gz"
+MD5SUM="44535d43d136c6080c5a341a27206a88"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="decorator"