package: add python-semver

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2018-08-07 11:38:39 +02:00
parent 62df8bfc44
commit fa680e2903
5 changed files with 25 additions and 0 deletions

View File

@ -1557,6 +1557,7 @@ F: package/python-ipaddr/
F: package/python-pam/
F: package/python-psutil/
F: package/python-request-id/
F: package/python-semver/
F: package/python-texttable/
F: package/python-validators/
F: package/python-webob/

View File

@ -940,6 +940,7 @@ menu "External python modules"
source "package/python-sdnotify/Config.in"
source "package/python-secretstorage/Config.in"
source "package/python-see/Config.in"
source "package/python-semver/Config.in"
source "package/python-serial/Config.in"
source "package/python-service-identity/Config.in"
source "package/python-setproctitle/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_SEMVER
bool "python-semver"
help
Python helper for Semantic Versioning (http://semver.org/).
https://github.com/k-bx/python-semver

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/semver/json
md5 dc579ba9d0bb2137bad5324d4bdb7e40 semver-2.8.1.tar.gz
sha256 5b09010a66d9a3837211bb7ae5a20d10ba88f8cb49e92cb139a69ef90d5060d8 semver-2.8.1.tar.gz

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-semver
#
################################################################################
PYTHON_SEMVER_VERSION = 2.8.1
PYTHON_SEMVER_SOURCE = semver-$(PYTHON_SEMVER_VERSION).tar.gz
PYTHON_SEMVER_SITE = https://files.pythonhosted.org/packages/47/13/8ae74584d6dd33a1d640ea27cd656a9f718132e75d759c09377d10d64595
PYTHON_SEMVER_SETUP_TYPE = setuptools
# no license file in tarball, but available in git
PYTHON_SEMVER_LICENSE = BSD-3-Clause
$(eval $(python-package))