mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
python3-humanize: update to 1.0.0.
This commit is contained in:
parent
2b9f1adb63
commit
4396e9e901
2 changed files with 5 additions and 30 deletions
|
@ -1,25 +0,0 @@
|
||||||
diff --git setup.py setup.py
|
|
||||||
index 327388d..4f59508 100644
|
|
||||||
--- setup.py
|
|
||||||
+++ setup.py
|
|
||||||
@@ -36,7 +36,6 @@ setup(
|
|
||||||
include_package_data=True,
|
|
||||||
zip_safe=False,
|
|
||||||
test_suite="tests",
|
|
||||||
- tests_require=['mock'],
|
|
||||||
install_requires=[
|
|
||||||
# -*- Extra requirements: -*-
|
|
||||||
],
|
|
||||||
diff --git tests/time.py tests/time.py
|
|
||||||
index 7747c87..669d063 100644
|
|
||||||
--- tests/time.py
|
|
||||||
+++ tests/time.py
|
|
||||||
@@ -3,7 +3,7 @@
|
|
||||||
|
|
||||||
"""Tests for time humanizing."""
|
|
||||||
|
|
||||||
-from mock import patch
|
|
||||||
+from unittest.mock import patch
|
|
||||||
|
|
||||||
from humanize import time
|
|
||||||
from datetime import date, datetime, timedelta
|
|
|
@ -1,18 +1,18 @@
|
||||||
# Template file for 'python3-humanize'
|
# Template file for 'python3-humanize'
|
||||||
pkgname=python3-humanize
|
pkgname=python3-humanize
|
||||||
version=0.5.1
|
version=1.0.0
|
||||||
revision=2
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="humanize-${version}"
|
wrksrc="humanize-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="humanize"
|
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
|
checkdepends="python3-pytest python3-freezegun"
|
||||||
short_desc="Python humanize utilities"
|
short_desc="Python humanize utilities"
|
||||||
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/jmoiron/humanize"
|
homepage="https://github.com/jmoiron/humanize"
|
||||||
distfiles="https://github.com/jmoiron/humanize/archive/${version}.tar.gz"
|
distfiles="${PYPI_SITE}/h/humanize/humanize-${version}.tar.gz"
|
||||||
checksum=@ce798ec45142598f4eb5a580c1c99b1f10d573c1896afd73e4aa8e216b22608b
|
checksum=38ace9b66bcaeb7f8186b9dbf0b3448e00148e5b4fbaf726f96c789e52c3e741
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENCE
|
vlicense LICENCE
|
||||||
|
|
Loading…
Add table
Reference in a new issue