openwrt-packages/lang/python/python-atomicwrites/Makefile

41 lines
1021 B
Makefile

#
# Copyright (C) 2019-2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-atomicwrites
PKG_VERSION:=1.4.1
PKG_RELEASE:=1
PYPI_NAME:=atomicwrites
PKG_HASH:=81b2c9071a49367a7f770170e5eec8cb66567cfbbc8c73d20ce5ca4a8d71cf11
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-atomicwrites
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Atomic file writes
URL:=https://github.com/untitaker/python-atomicwrites
DEPENDS:=+python3-light
endef
define Package/python3-atomicwrites/description
Python library for atomic file writes.
endef
$(eval $(call Py3Package,python3-atomicwrites))
$(eval $(call BuildPackage,python3-atomicwrites))
$(eval $(call BuildPackage,python3-atomicwrites-src))