1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 03:43:53 +02:00
openwrt-packages/lang/python-attrs/Makefile
Jeffery To af92e141cd python-attrs: update to 16.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2016-09-21 01:19:13 +08:00

48 lines
1.2 KiB
Makefile

#
# Copyright (C) 2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=attrs
PKG_VERSION:=16.2.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://pypi.python.org/packages/6b/71/1682316894ed80b362b9102e7a10997136d8dc1213c36a9f0515c451373a
PKG_MD5SUM:=442b73d049af046ced010671b7bfd0e9
PKG_BUILD_DEPENDS:=python python-setuptools
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include $(INCLUDE_DIR)/package.mk
$(call include_mk, python-package.mk)
define Package/python-attrs
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=python-attrs
URL:=https://attrs.readthedocs.org/
DEPENDS:=+python-light
endef
define Package/python-attrs/description
attrs is an MIT-licensed Python package with class decorators that ease
the chores of implementing the most common attribute-related object
protocols.
endef
define Build/Compile
$(call Build/Compile/PyMod,,install --prefix="/usr" --root="$(PKG_INSTALL_DIR)")
endef
$(eval $(call PyPackage,python-attrs))
$(eval $(call BuildPackage,python-attrs))