Browse Source

Merge pull request #9007 from cotequeiroz/makefile_style

Update Makefile style in cotequeiroz-maintained packages
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
22060a77ba
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 52 additions and 42 deletions
  1. +5
    -5
      lang/python/django-formtools/Makefile
  2. +4
    -5
      lang/python/django-ranged-response/Makefile
  3. +2
    -2
      lang/python/django-simple-captcha/Makefile
  4. +5
    -5
      lang/python/django-webpack-loader/Makefile
  5. +6
    -4
      lang/python/pyjwt/Makefile
  6. +8
    -6
      lang/python/python-certifi/Makefile
  7. +5
    -3
      lang/python/python-defusedxml/Makefile
  8. +10
    -7
      lang/python/python-oauthlib/Makefile
  9. +7
    -5
      lang/python/python-qrcode/Makefile

+ 5
- 5
lang/python/django-formtools/Makefile View File

@ -1,6 +1,4 @@
# #
# Copyright (C) 2007-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
# #
@ -9,8 +7,11 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=django-formtools PKG_NAME:=django-formtools
PKG_VERSION:=2.1 PKG_VERSION:=2.1
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=BSD-3-Clause PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/${PKG_NAME} PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/${PKG_NAME}
@ -23,8 +24,7 @@ define Package/django-formtools
SUBMENU:=Python SUBMENU:=Python
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
TITLE:=A set of high-level abstractions for Django forms
TITLE:=High-level abstractions for Django forms
URL:=https://django-formtools.readthedocs.io/en/latest/ URL:=https://django-formtools.readthedocs.io/en/latest/
DEPENDS:=+python +django DEPENDS:=+python +django
VARIANT:=python VARIANT:=python


+ 4
- 5
lang/python/django-ranged-response/Makefile View File

@ -1,6 +1,4 @@
# #
# Copyright (C) 2007-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
# #
@ -9,7 +7,9 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=django-ranged-response PKG_NAME:=django-ranged-response
PKG_VERSION:=0.2.0 PKG_VERSION:=0.2.0
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@ -23,8 +23,7 @@ define Package/django-ranged-response
SUBMENU:=Python SUBMENU:=Python
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
TITLE:=Modified Django FileResponse that adds Content-Range headers.
TITLE:=Add Content-Range: to FileResponse
URL:=https://github.com/wearespindle/django-ranged-fileresponse URL:=https://github.com/wearespindle/django-ranged-fileresponse
DEPENDS:=+python +django DEPENDS:=+python +django
VARIANT:=python VARIANT:=python


+ 2
- 2
lang/python/django-simple-captcha/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=django-simple-captcha PKG_NAME:=django-simple-captcha
PKG_VERSION:=0.5.11 PKG_VERSION:=0.5.11
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
@ -26,7 +26,7 @@ define Package/django-simple-captcha
SUBMENU:=Python SUBMENU:=Python
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
TITLE:=A very simple, yet powerful, Django captcha application
TITLE:=Simple Django captcha application
URL:=https://github.com/mbi/django-simple-captcha URL:=https://github.com/mbi/django-simple-captcha
DEPENDS:=+python +python-six +django +pillow +django-ranged-response DEPENDS:=+python +python-six +django +pillow +django-ranged-response
VARIANT:=python VARIANT:=python


+ 5
- 5
lang/python/django-webpack-loader/Makefile View File

@ -1,6 +1,4 @@
# #
# Copyright (C) 2007-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
# #
@ -9,8 +7,11 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=django-webpack-loader PKG_NAME:=django-webpack-loader
PKG_VERSION:=0.6.0 PKG_VERSION:=0.6.0
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/${PKG_NAME} PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/${PKG_NAME}
@ -23,8 +24,7 @@ define Package/django-webpack-loader
SUBMENU:=Python SUBMENU:=Python
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
TITLE:=Transparently use webpack with django
TITLE:=Transparently use webpack in django
URL:=https://github.com/owais/django-webpack-loader URL:=https://github.com/owais/django-webpack-loader
DEPENDS:=+python +django DEPENDS:=+python +django
VARIANT:=python VARIANT:=python


+ 6
- 4
lang/python/pyjwt/Makefile View File

@ -1,6 +1,4 @@
# #
# Copyright (C) 2007-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
# #
@ -10,23 +8,27 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pyjwt PKG_NAME:=pyjwt
PKG_VERSION:=1.7.1 PKG_VERSION:=1.7.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE:=PyJWT-$(PKG_VERSION).tar.gz PKG_SOURCE:=PyJWT-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/P/PyJWT PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/P/PyJWT
PKG_HASH:=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96 PKG_HASH:=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-PyJWT-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-PyJWT-$(PKG_VERSION)
PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
define Package/python-pyjwt/Default define Package/python-pyjwt/Default
SUBMENU:=Python SUBMENU:=Python
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
TITLE:=JSON Web Token implementation in Python TITLE:=JSON Web Token implementation in Python
URL:=http://github.com/jpadilla/pyjwt URL:=http://github.com/jpadilla/pyjwt
endef endef


+ 8
- 6
lang/python/python-certifi/Makefile View File

@ -1,6 +1,4 @@
# #
# Copyright (C) 2007-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
# #
@ -9,25 +7,29 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-certifi PKG_NAME:=python-certifi
PKG_VERSION:=2019.3.9 PKG_VERSION:=2019.3.9
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=MPL-2.0 PKG_LICENSE:=MPL-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE:=certifi-$(PKG_VERSION).tar.gz PKG_SOURCE:=certifi-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/c/certifi PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/c/certifi
PKG_HASH:=b26104d6835d1f5e49452a26eb2ff87fe7090b89dfcaee5ea2212697e1e1d7ae PKG_HASH:=b26104d6835d1f5e49452a26eb2ff87fe7090b89dfcaee5ea2212697e1e1d7ae
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-certifi-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-certifi-$(PKG_VERSION)
PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
define Package/python-certifi/Default define Package/python-certifi/Default
SUBMENU:=Python SUBMENU:=Python
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
TITLE:=Python package for providing Mozilla's CA Bundle.
TITLE:=Python package for Mozilla's CA Bundle
URL:=http://certifi.io/ URL:=http://certifi.io/
endef endef


+ 5
- 3
lang/python/python-defusedxml/Makefile View File

@ -7,14 +7,16 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-defusedxml PKG_NAME:=python-defusedxml
PKG_VERSION:=0.6.0 PKG_VERSION:=0.6.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=Python-2.0 PKG_LICENSE:=Python-2.0
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_SOURCE:=defusedxml-$(PKG_VERSION).tar.gz PKG_SOURCE:=defusedxml-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/defusedxml PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/defusedxml
PKG_HASH:=f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5 PKG_HASH:=f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-defusedxml-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-defusedxml-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -27,7 +29,7 @@ define Package/python-defusedxml/Default
SUBMENU:=Python SUBMENU:=Python
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
TITLE:=XML bomb protection for Python stdlib modules.
TITLE:=XML bomb protection for Python
URL:=https://github.com/tiran/defusedxml URL:=https://github.com/tiran/defusedxml
endef endef


+ 10
- 7
lang/python/python-oauthlib/Makefile View File

@ -1,6 +1,4 @@
# #
# Copyright (C) 2007-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
# #
@ -9,25 +7,29 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-oauthlib PKG_NAME:=python-oauthlib
PKG_VERSION:=3.0.1 PKG_VERSION:=3.0.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=BSD-3-Clause PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE:=oauthlib-$(PKG_VERSION).tar.gz PKG_SOURCE:=oauthlib-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/o/oauthlib PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/o/oauthlib
PKG_HASH:=0ce32c5d989a1827e3f1148f98b9085ed2370fc939bf524c9c851d8714797298 PKG_HASH:=0ce32c5d989a1827e3f1148f98b9085ed2370fc939bf524c9c851d8714797298
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-oauthlib-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-oauthlib-$(PKG_VERSION)
PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk include ../python-package.mk
include ../python3-package.mk include ../python3-package.mk
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
define Package/python-oauthlib/Default define Package/python-oauthlib/Default
SUBMENU:=Python SUBMENU:=Python
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
TITLE:=A generic, spec-compliant, thorough implementation of the OAuth request-signing logic
TITLE:=OAuth request-signing logic for Python
URL:=https://github.com/oauthlib/oauthlib URL:=https://github.com/oauthlib/oauthlib
endef endef
@ -44,7 +46,8 @@ define Package/python3-oauthlib
endef endef
define Package/python-oauthlib/description define Package/python-oauthlib/description
A generic, spec-compliant, thorough implementation of the OAuth request-signing logic for Python
A generic, spec-compliant, thorough implementation of the OAuth request-signing
logic for Python
endef endef
define Package/python3-oauthlib/description define Package/python3-oauthlib/description


+ 7
- 5
lang/python/python-qrcode/Makefile View File

@ -1,6 +1,4 @@
# #
# Copyright (C) 2007-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
# #
@ -10,22 +8,26 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-qrcode PKG_NAME:=python-qrcode
PKG_VERSION:=6.1 PKG_VERSION:=6.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=BSD-3-Clause PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE:=qrcode-$(PKG_VERSION).tar.gz PKG_SOURCE:=qrcode-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/q/qrcode/ PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/q/qrcode/
PKG_HASH:=505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369 PKG_HASH:=505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-oauthlib-$(PKG_VERSION)
PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-qrcode-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python-package.mk include ../python-package.mk
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
define Package/python-qrcode define Package/python-qrcode
SUBMENU:=Python SUBMENU:=Python
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
TITLE:=QR Code image generator TITLE:=QR Code image generator
URL:=https://github.com/lincolnloop/python-qrcode URL:=https://github.com/lincolnloop/python-qrcode
DEPENDS:=+python +python-six +python-setuptools +pillow DEPENDS:=+python +python-six +python-setuptools +pillow


Loading…
Cancel
Save