Commit b71842cb authored by Ludovic Desroches's avatar Ludovic Desroches Committed by Peter Korsgaard
Browse files

python-versiontools: new package



[Thomas: convert to the Python package infrastructure, added license
informations.]

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 494c8eb5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -406,6 +406,7 @@ source "package/python-pyzmq/Config.in"
source "package/python-serial/Config.in"
source "package/python-setuptools/Config.in"
source "package/python-thrift/Config.in"
source "package/python-versiontools/Config.in"
endmenu
endif
source "package/python3/Config.in"
+7 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_PYTHON_VERSIONTOOLS
	bool "python-versiontools"
	depends on BR2_PACKAGE_PYTHON
	help
	  Smart replacement for plain tuple used in __version__.

	  https://pypi.python.org/pypi/versiontools
+13 −0
Original line number Diff line number Diff line
################################################################################
#
# python-versiontools
#
################################################################################

PYTHON_VERSIONTOOLS_VERSION = 1.9.1
PYTHON_VERSIONTOOLS_SOURCE = versiontools-$(PYTHON_VERSIONTOOLS_VERSION).tar.gz
PYTHON_VERSIONTOOLS_SITE = http://pypi.python.org/packages/source/v/versiontools/
PYTHON_VERSIONTOOLS_SETUP_TYPE = setuptools
PYTHON_VERSIONTOOLS_LICENSE = LGPLv3

$(eval $(python-package))