Skip to content

Commit 758b901

Browse files
committed
Init OpenWRT 22.03
1 parent 85d6d72 commit 758b901

File tree

14 files changed

+534
-204
lines changed

14 files changed

+534
-204
lines changed

backports/python-certifi/Makefile

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#
2+
# This is free software, licensed under the GNU General Public License v2.
3+
# See /LICENSE for more information.
4+
#
5+
6+
include $(TOPDIR)/rules.mk
7+
8+
PKG_NAME:=python-certifi
9+
PKG_VERSION:=2021.10.8
10+
PKG_RELEASE:=2
11+
12+
PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
13+
PKG_LICENSE:=MPL-2.0
14+
PKG_LICENSE_FILES:=LICENSE
15+
16+
PYPI_NAME:=certifi
17+
PKG_HASH:=78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872
18+
19+
HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host python-setuptools/host
20+
PKG_BUILD_DEPENDS:=python-setuptools/host
21+
22+
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
23+
include $(INCLUDE_DIR)/package.mk
24+
include $(INCLUDE_DIR)/host-build.mk
25+
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
26+
include $(TOPDIR)/feeds/packages/lang/python/python3-host-build.mk
27+
28+
define Package/python3-certifi
29+
SUBMENU:=Python
30+
SECTION:=lang
31+
CATEGORY:=Languages
32+
TITLE:=Python package for Mozilla's CA Bundle
33+
URL:=http://certifi.io/
34+
DEPENDS:=+python3-light
35+
endef
36+
37+
define Package/python3-certifi/description
38+
Certifi is a carefully curated collection of Root Certificates for validating the
39+
trustworthiness of SSL certificates while verifying the identity of TLS hosts.
40+
endef
41+
42+
$(eval $(call Py3Package,python3-certifi))
43+
$(eval $(call BuildPackage,python3-certifi))
44+
$(eval $(call BuildPackage,python3-certifi-src))
45+
$(eval $(call HostBuild))

backports/python-chardet/Makefile

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#
2+
# Copyright (C) 2007-2017 OpenWrt.org
3+
#
4+
# This is free software, licensed under the GNU General Public License v2.
5+
# See /LICENSE for more information.
6+
#
7+
8+
include $(TOPDIR)/rules.mk
9+
10+
PKG_NAME:=python-chardet
11+
PKG_VERSION:=4.0.0
12+
PKG_RELEASE:=2
13+
PKG_LICENSE:=LGPL-2.1
14+
15+
PYPI_NAME:=chardet
16+
PKG_HASH:=0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa
17+
18+
HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host python-setuptools/host
19+
PKG_BUILD_DEPENDS:=python-setuptools/host
20+
21+
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
22+
include $(INCLUDE_DIR)/package.mk
23+
include $(INCLUDE_DIR)/host-build.mk
24+
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
25+
include $(TOPDIR)/feeds/packages/lang/python/python3-host-build.mk
26+
27+
define Package/python3-chardet
28+
SUBMENU:=Python
29+
SECTION:=lang
30+
CATEGORY:=Languages
31+
MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
32+
URL:=https://github.com/chardet/chardet
33+
TITLE:=Universal encoding detector
34+
DEPENDS:=+python3-light
35+
endef
36+
37+
define Package/python3-chardet/description
38+
Universal encoding detector for Python 2 and 3
39+
endef
40+
41+
define Py3Package/python3-chardet/install
42+
$(INSTALL_DIR) $(1)/usr/bin
43+
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
44+
for bin in $(1)/usr/bin/*; do \
45+
mv $$$$bin $$$${bin}3 ; \
46+
$(LN) $$$${bin##*/}3 $$$$bin ; \
47+
done
48+
endef
49+
50+
$(eval $(call Py3Package,python3-chardet))
51+
$(eval $(call BuildPackage,python3-chardet))
52+
$(eval $(call BuildPackage,python3-chardet-src))
53+
$(eval $(call HostBuild))

backports/python-click/Makefile

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This is free software, licensed under the GNU General Public License v2.
2+
# See /LICENSE for more information.
3+
#
4+
5+
include $(TOPDIR)/rules.mk
6+
7+
PKG_NAME:=python-click
8+
PKG_VERSION:=8.1.7
9+
PKG_RELEASE:=1
10+
11+
PYPI_NAME:=click
12+
PKG_HASH:=ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de
13+
14+
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
15+
PKG_LICENSE:=BSD-3-Clause
16+
PKG_LICENSE_FILES:=LICENSE.rst
17+
18+
HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host
19+
20+
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
21+
include $(INCLUDE_DIR)/package.mk
22+
include $(INCLUDE_DIR)/host-build.mk
23+
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
24+
include $(TOPDIR)/feeds/packages/lang/python/python3-host-build.mk
25+
26+
define Package/python3-click
27+
SECTION:=lang
28+
CATEGORY:=Languages
29+
SUBMENU:=Python
30+
TITLE:=Composable command line interface toolkit
31+
URL:=https://palletsprojects.com/p/click/
32+
DEPENDS:=+python3-light +python3-urllib +python3-uuid
33+
endef
34+
35+
define Package/python3-click/description
36+
Click is a Python package for creating beautiful command line interfaces
37+
in a composable way with as little code as necessary. It's the "Command
38+
Line Interface Creation Kit". It's highly configurable but comes with
39+
sensible defaults out of the box.
40+
endef
41+
42+
$(eval $(call Py3Package,python3-click))
43+
$(eval $(call BuildPackage,python3-click))
44+
$(eval $(call BuildPackage,python3-click-src))
45+
$(eval $(call HostBuild))

backports/python-idna/Makefile

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
#
2+
# Copyright (C) 2015-2019 OpenWrt.org
3+
#
4+
# This is free software, licensed under the GNU General Public License v2.
5+
# See /LICENSE for more information.
6+
#
7+
8+
include $(TOPDIR)/rules.mk
9+
10+
PKG_NAME:=python-idna
11+
PKG_VERSION:=3.3
12+
PKG_RELEASE:=2
13+
14+
PYPI_NAME:=idna
15+
PKG_HASH:=9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d
16+
17+
PKG_LICENSE:=BSD-3-Clause
18+
PKG_LICENSE_FILES:=LICENSE.rst
19+
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20+
21+
HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host python-setuptools/host
22+
PKG_BUILD_DEPENDS:=python-setuptools/host
23+
24+
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
25+
include $(INCLUDE_DIR)/package.mk
26+
include $(INCLUDE_DIR)/host-build.mk
27+
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
28+
include $(TOPDIR)/feeds/packages/lang/python/python3-host-build.mk
29+
30+
define Package/python3-idna
31+
SECTION:=lang
32+
CATEGORY:=Languages
33+
SUBMENU:=Python
34+
TITLE:=IDNA library
35+
URL:=https://github.com/kjd/idna
36+
DEPENDS:= \
37+
+python3-light \
38+
+python3-codecs
39+
endef
40+
41+
define Package/python3-idna/description
42+
A library to support the Internationalised Domain Names in Applications
43+
(IDNA) protocol as specified in RFC 5891. This version of the protocol
44+
is often referred to as "IDNA2008" and can produce different results
45+
from the earlier standard from 2003.
46+
endef
47+
48+
$(eval $(call Py3Package,python3-idna))
49+
$(eval $(call BuildPackage,python3-idna))
50+
$(eval $(call BuildPackage,python3-idna-src))
51+
$(eval $(call HostBuild))

backports/python-pyserial/Makefile

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#
2+
# Copyright (C) 2015 OpenWrt.org
3+
#
4+
# This is free software, licensed under the GNU General Public License v2.
5+
# See /LICENSE for more information.
6+
#
7+
8+
include $(TOPDIR)/rules.mk
9+
10+
PKG_NAME:=python-pyserial
11+
PKG_VERSION:=3.4
12+
PKG_RELEASE:=2
13+
14+
PYPI_NAME:=pyserial
15+
PKG_HASH:=6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627
16+
17+
PKG_LICENSE:=BSD
18+
PKG_MAINTAINER:=Micke Prag <micke.prag@telldus.se>
19+
20+
HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host
21+
22+
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
23+
include $(INCLUDE_DIR)/package.mk
24+
include $(INCLUDE_DIR)/host-build.mk
25+
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
26+
include $(TOPDIR)/feeds/packages/lang/python/python3-host-build.mk
27+
28+
define Package/python3-pyserial
29+
SECTION:=lang-python
30+
CATEGORY:=Languages
31+
SUBMENU:=Python
32+
TITLE:=python3-pyserial
33+
URL:=https://github.com/pyserial/pyserial
34+
DEPENDS:=+python3-light
35+
endef
36+
37+
define Package/python3-pyserial/description
38+
This module encapsulates the access for the serial port. It provides backends
39+
for Python running on Windows, OSX, Linux, BSD (possibly any POSIX compliant
40+
system) and IronPython. The module named "serial" automatically selects the
41+
appropriate backend.
42+
endef
43+
44+
$(eval $(call Py3Package,python3-pyserial))
45+
$(eval $(call BuildPackage,python3-pyserial))
46+
$(eval $(call BuildPackage,python3-pyserial-src))
47+
$(eval $(call HostBuild))

backports/python-requests/Makefile

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#
2+
# Copyright (C) 2007-2019 OpenWrt.org
3+
#
4+
# This is free software, licensed under the GNU General Public License v2.
5+
# See /LICENSE for more information.
6+
#
7+
8+
include $(TOPDIR)/rules.mk
9+
10+
PKG_NAME:=python-requests
11+
PKG_VERSION:=2.31.0
12+
PKG_RELEASE:=2
13+
14+
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
15+
PKG_LICENSE:=Apache-2.0
16+
PKG_LICENSE_FILES:=LICENSE
17+
PKG_CPE_ID:=cpe:/a:python-requests:requests
18+
19+
PYPI_NAME:=requests
20+
PKG_HASH:=942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1
21+
22+
HOST_BUILD_DEPENDS:= \
23+
python-chardet/host \
24+
python-idna/host \
25+
python-urllib3/host \
26+
python-certifi/host
27+
28+
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
29+
include $(INCLUDE_DIR)/package.mk
30+
include $(INCLUDE_DIR)/host-build.mk
31+
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
32+
include $(TOPDIR)/feeds/packages/lang/python/python3-host-build.mk
33+
34+
define Package/python3-requests
35+
SUBMENU:=Python
36+
SECTION:=lang
37+
CATEGORY:=Languages
38+
TITLE:=HTTP library for Python
39+
URL:=https://requests.readthedocs.io
40+
DEPENDS:= \
41+
+python3-light \
42+
+python3-chardet \
43+
+python3-idna \
44+
+python3-urllib3 \
45+
+python3-certifi
46+
endef
47+
48+
define Package/python3-requests/description
49+
Requests is the only Non-GMO HTTP library for Python, safe for human consumption
50+
endef
51+
52+
$(eval $(call Py3Package,python3-requests))
53+
$(eval $(call BuildPackage,python3-requests))
54+
$(eval $(call BuildPackage,python3-requests-src))
55+
$(eval $(call HostBuild))

backports/python-urllib3/Makefile

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#
2+
# Copyright (C) 2007-2017 OpenWrt.org
3+
#
4+
# This is free software, licensed under the GNU General Public License v2.
5+
# See /LICENSE for more information.
6+
#
7+
8+
include $(TOPDIR)/rules.mk
9+
10+
PKG_NAME:=python-urllib3
11+
PKG_VERSION:=2.0.4
12+
PKG_RELEASE:=2
13+
14+
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
15+
PKG_LICENSE:=MIT
16+
PKG_LICENSE_FILES:=LICENSE.txt
17+
PKG_CPE_ID:=cpe:/a:urllib3_project:urllib3
18+
19+
PYPI_NAME:=urllib3
20+
PKG_HASH:=8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11
21+
22+
PKG_BUILD_DEPENDS:=python-hatchling/host python-setuptools/host
23+
HOST_BUILD_DEPENDS:=python-hatchling/host python-setuptools/host
24+
25+
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
26+
include $(INCLUDE_DIR)/package.mk
27+
include $(INCLUDE_DIR)/host-build.mk
28+
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
29+
include $(TOPDIR)/feeds/packages/lang/python/python3-host-build.mk
30+
31+
define Package/python3-urllib3
32+
SUBMENU:=Python
33+
SECTION:=lang
34+
CATEGORY:=Languages
35+
TITLE:=Sanity-friendly HTTP client
36+
URL:=https://urllib3.readthedocs.io/
37+
DEPENDS:=+python3
38+
endef
39+
40+
define Package/python3-urllib3/description
41+
HTTP library with thread-safe connection pooling, file post, and more.
42+
endef
43+
44+
$(eval $(call Py3Package,python3-urllib3))
45+
$(eval $(call BuildPackage,python3-urllib3))
46+
$(eval $(call BuildPackage,python3-urllib3-src))
47+
$(eval $(call HostBuild))

depends/libyder/Makefile

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
#
2+
# This is free software, licensed under the GNU General Public License v2.
3+
# See /LICENSE for more information.
4+
#
5+
6+
include $(TOPDIR)/rules.mk
7+
8+
PKG_NAME:=libyder
9+
PKG_VERSION:=1.4.14
10+
PKG_RELEASE:=1
11+
12+
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13+
PKG_SOURCE_URL:=https://codeload.github.com/babelouest/yder/tar.gz/v$(PKG_VERSION)?
14+
PKG_HASH:=20b38969abe32022d938c4078fc137fafc8613cae8890efc97a754a6dee07e1f
15+
16+
PKG_MAINTAINER:=Austin Lane <vidplace7@gmail.com>
17+
PKG_LICENSE:=LGPL-2.1-or-later
18+
PKG_LICENSE_FILES:=LICENSE
19+
20+
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/yder-$(PKG_VERSION)
21+
CMAKE_INSTALL:=1
22+
23+
include $(INCLUDE_DIR)/package.mk
24+
include $(INCLUDE_DIR)/cmake.mk
25+
26+
define Package/libyder
27+
SECTION:=libs
28+
CATEGORY:=Libraries
29+
TITLE:=Logging library written in C.
30+
URL:=https://github.com/babelouest/yder
31+
DEPENDS:=+liborcania
32+
endef
33+
34+
CMAKE_OPTIONS += \
35+
-DWITH_JOURNALD=off \
36+
-DCMAKE_BUILD_TYPE=Release
37+
38+
define Package/libyder/description
39+
Simple and easy to use logging library.
40+
You can log messages to the console, a file, Syslog, journald or a callback function.
41+
endef
42+
43+
define Package/libyder/install
44+
$(INSTALL_DIR) $(1)/usr/lib
45+
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libyder.so* $(1)/usr/lib/
46+
endef
47+
48+
$(eval $(call BuildPackage,libyder))

0 commit comments

Comments
 (0)