diff options
| author | Javier Marcet <javier@marcet.info> | 2020-06-08 16:56:16 +0200 |
|---|---|---|
| committer | Javier Marcet <javier@marcet.info> | 2020-06-08 17:07:33 +0200 |
| commit | 79873a31e112a303b815c8886e82c92643b6dbbe (patch) | |
| tree | 462f59d4c88955992fdb2a2c92353200c3b7afce /lang/python/python-distro/Makefile | |
| parent | 4dc815d0d1722caa4b42d22b926e007ac52a7263 (diff) | |
python3-distro: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
Diffstat (limited to 'lang/python/python-distro/Makefile')
| -rw-r--r-- | lang/python/python-distro/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lang/python/python-distro/Makefile b/lang/python/python-distro/Makefile new file mode 100644 index 000000000..e33dc8e66 --- /dev/null +++ b/lang/python/python-distro/Makefile @@ -0,0 +1,35 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-distro +PKG_VERSION:=1.5.0 +PKG_RELEASE:=1 + +PYPI_NAME:=distro +PKG_HASH:=0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92 + +PKG_MAINTAINER:=Javier Marcet <javier@marcet.info> +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-distro + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=Distro - an OS platform information API + URL:=https://github.com/nir0s/distro + DEPENDS:=+python3-light + VARIANT:=python3 +endef + +define Package/python3-distro/description + A much more elaborate, renewed alternative implementation for Python's + platform.linux_distribution() +endef + +$(eval $(call Py3Package,python3-distro)) +$(eval $(call BuildPackage,python3-distro)) +$(eval $(call BuildPackage,python3-distro-src)) |
