-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
51 changed files
with
704 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=python-click | ||
PKG_VERSION:=8.1.7 | ||
PKG_RELEASE:=1 | ||
PKG_RELEASE:=2 | ||
|
||
PYPI_NAME:=click | ||
PKG_HASH:=ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de | ||
|
@@ -15,9 +15,13 @@ PKG_MAINTAINER:=Jeffery To <[email protected]> | |
PKG_LICENSE:=BSD-3-Clause | ||
PKG_LICENSE_FILES:=LICENSE.rst | ||
|
||
HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host | ||
|
||
include ../pypi.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/host-build.mk | ||
include ../python3-package.mk | ||
include ../python3-host-build.mk | ||
|
||
define Package/python3-click | ||
SECTION:=lang | ||
|
@@ -38,3 +42,4 @@ endef | |
$(eval $(call Py3Package,python3-click)) | ||
$(eval $(call BuildPackage,python3-click)) | ||
$(eval $(call BuildPackage,python3-click-src)) | ||
$(eval $(call HostBuild)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=python-orjson | ||
PKG_VERSION:=3.10.0 | ||
PKG_VERSION:=3.10.12 | ||
PKG_RELEASE:=1 | ||
|
||
PYPI_NAME:=orjson | ||
PKG_HASH:=ba4d8cac5f2e2cff36bea6b6481cdb92b38c202bcec603d6f5ff91960595a1ed | ||
PKG_HASH:=0a78bbda3aea0f9f079057ee1ee8a1ecf790d4f1af88dd67493c6b8ee52506ff | ||
|
||
PKG_MAINTAINER:=Timothy Ace <[email protected]> | ||
PKG_LICENSE:=Apache-2.0 MIT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# This is free software, licensed under the GNU General Public License v2. | ||
# See /LICENSE for more information. | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=python-pyelftools | ||
PKG_VERSION:=0.31 | ||
PKG_RELEASE:=1 | ||
|
||
PYPI_NAME:=pyelftools | ||
PKG_HASH:=c774416b10310156879443b81187d182d8d9ee499660380e645918b50bc88f99 | ||
|
||
PKG_MAINTAINER:=Austin Lane <[email protected]> | ||
PKG_LICENSE:=Unlicense | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
HOST_BUILD_DEPENDS:= \ | ||
python3/host \ | ||
python-build/host \ | ||
python-installer/host \ | ||
python-wheel/host | ||
|
||
include ../pypi.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/host-build.mk | ||
include ../python3-package.mk | ||
include ../python3-host-build.mk | ||
|
||
define Package/python3-pyelftools | ||
SECTION:=lang | ||
CATEGORY:=Languages | ||
SUBMENU:=Python | ||
TITLE:=Library for analyzing ELF files and DWARF debugging information | ||
URL:=https://pypi.org/project/pyelftools | ||
DEPENDS:=+python3-light +python3-logging | ||
endef | ||
|
||
define Package/python3-pyelftools/description | ||
Library for analyzing ELF files and DWARF debugging information | ||
endef | ||
|
||
$(eval $(call Py3Package,python3-pyelftools)) | ||
$(eval $(call BuildPackage,python3-pyelftools)) | ||
$(eval $(call BuildPackage,python3-pyelftools-src)) | ||
$(eval $(call HostBuild)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=python-pyserial | ||
PKG_VERSION:=3.5 | ||
PKG_RELEASE:=1 | ||
PKG_RELEASE:=2 | ||
|
||
PYPI_NAME:=pyserial | ||
PKG_HASH:=3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb | ||
|
@@ -18,9 +18,13 @@ PKG_LICENSE:=BSD-3-Clause | |
PKG_LICENSE_FILES:=LICENSE.txt | ||
PKG_MAINTAINER:=Micke Prag <[email protected]> | ||
|
||
HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host | ||
|
||
include ../pypi.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/host-build.mk | ||
include ../python3-package.mk | ||
include ../python3-host-build.mk | ||
|
||
define Package/python3-pyserial | ||
SECTION:=lang | ||
|
@@ -41,3 +45,4 @@ endef | |
$(eval $(call Py3Package,python3-pyserial)) | ||
$(eval $(call BuildPackage,python3-pyserial)) | ||
$(eval $(call BuildPackage,python3-pyserial-src)) | ||
$(eval $(call HostBuild)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=python-requests | ||
PKG_VERSION:=2.32.3 | ||
PKG_RELEASE:=1 | ||
PKG_RELEASE:=2 | ||
|
||
PKG_MAINTAINER:=Josef Schlehofer <[email protected]>, Alexandru Ardelean <[email protected]> | ||
PKG_LICENSE:=Apache-2.0 | ||
|
@@ -19,9 +19,17 @@ PKG_CPE_ID:=cpe:/a:python:requests | |
PYPI_NAME:=requests | ||
PKG_HASH:=55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760 | ||
|
||
HOST_BUILD_DEPENDS:= \ | ||
python-chardet/host \ | ||
python-idna/host \ | ||
python-urllib3/host \ | ||
python-certifi/host | ||
|
||
include ../pypi.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/host-build.mk | ||
include ../python3-package.mk | ||
include ../python3-host-build.mk | ||
|
||
define Package/python3-requests | ||
SUBMENU:=Python | ||
|
@@ -44,3 +52,4 @@ endef | |
$(eval $(call Py3Package,python3-requests)) | ||
$(eval $(call BuildPackage,python3-requests)) | ||
$(eval $(call BuildPackage,python3-requests-src)) | ||
$(eval $(call HostBuild)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# This is free software, licensed under the GNU General Public License v2. | ||
# See /LICENSE for more information. | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=python-tabulate | ||
PKG_VERSION:=0.9.0 | ||
PKG_RELEASE:=1 | ||
|
||
PYPI_NAME:=tabulate | ||
PKG_HASH:=0095b12bf5966de529c0feb1fa08671671b3368eec77d7ef7ab114be2c068b3c | ||
|
||
PKG_MAINTAINER:=Austin Lane <[email protected]> | ||
PKG_LICENSE:=MIT | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
PKG_BUILD_DEPENDS:=python-setuptools-scm/host | ||
HOST_BUILD_DEPENDS:= \ | ||
python3/host \ | ||
python-build/host \ | ||
python-installer/host \ | ||
python-wheel/host \ | ||
python-setuptools-scm/host | ||
|
||
include ../pypi.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/host-build.mk | ||
include ../python3-package.mk | ||
include ../python3-host-build.mk | ||
|
||
define Package/python3-tabulate | ||
SECTION:=lang | ||
CATEGORY:=Languages | ||
SUBMENU:=Python | ||
TITLE:=Pretty-print tabular data | ||
URL:=https://pypi.org/project/tabulate | ||
DEPENDS:=+python3-light | ||
endef | ||
|
||
define Package/python3-tabulate/description | ||
Pretty-print tabular data | ||
endef | ||
|
||
$(eval $(call Py3Package,python3-tabulate)) | ||
$(eval $(call BuildPackage,python3-tabulate)) | ||
$(eval $(call BuildPackage,python3-tabulate-src)) | ||
$(eval $(call HostBuild)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# This is free software, licensed under the GNU General Public License v2. | ||
# See /LICENSE for more information. | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=abseil-cpp | ||
PKG_VERSION:=20240722.0 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://github.com/abseil/abseil-cpp/releases/download/$(PKG_VERSION) | ||
PKG_HASH:=f50e5ac311a81382da7fa75b97310e4b9006474f9560ac46f54a9967f07d4ae3 | ||
|
||
PKG_MAINTAINER:=Austin Lane <[email protected]> | ||
PKG_LICENSE:=Apache-2.0 | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/host-build.mk | ||
include $(INCLUDE_DIR)/cmake.mk | ||
|
||
define Package/abseil-cpp | ||
SECTION:=libs | ||
CATEGORY:=Libraries | ||
TITLE:=Collection of C++ code designed to augment the C++ standard library | ||
URL:=https://github.com/abseil/abseil-cpp | ||
DEPENDS:=+libpthread +libstdcpp | ||
endef | ||
|
||
define Package/abseil-cpp/description | ||
Abseil is an open-source collection of C++ code (compliant to C++14) designed to augment the C++ standard library. | ||
endef | ||
|
||
CMAKE_INSTALL:=1 | ||
|
||
CMAKE_HOST_OPTIONS += \ | ||
-DCMAKE_CXX_STANDARD=14 \ | ||
-DABSL_ENABLE_INSTALL=ON \ | ||
-DABSL_USE_GOOGLETEST_HEAD=OFF | ||
|
||
CMAKE_OPTIONS += \ | ||
-DCMAKE_CXX_STANDARD=14 \ | ||
-DABSL_ENABLE_INSTALL=ON \ | ||
-DABSL_USE_GOOGLETEST_HEAD=OFF | ||
|
||
TARGET_CFLAGS += $(FPIC) | ||
|
||
define Build/InstallDev | ||
$(call Build/InstallDev/cmake,$(1)) | ||
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/absl_*.pc | ||
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/absl_*.pc | ||
endef | ||
|
||
$(eval $(call BuildPackage,abseil-cpp)) | ||
$(eval $(call HostBuild)) |
34 changes: 34 additions & 0 deletions
34
libs/abseil-cpp/patches/001-absl-always-use-asm-sgidefs.h.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# From https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/abseil-cpp | ||
From 11faa06436fdeb0c9948080a11f9a99d3b5ba16c Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Thu, 9 Apr 2020 13:06:27 -0700 | ||
Subject: [PATCH] absl: always use <asm/sgidefs.h> | ||
|
||
Fixes mips/musl build, since sgidefs.h is not present on all C libraries | ||
but on linux asm/sgidefs.h is there and contains same definitions, using | ||
that makes it portable. | ||
|
||
Upstream-Status: Pending | ||
|
||
Signed-off-by: Khem Raj <[email protected]> | ||
--- | ||
absl/base/internal/direct_mmap.h | 6 +----- | ||
1 file changed, 1 insertion(+), 5 deletions(-) | ||
|
||
--- a/absl/base/internal/direct_mmap.h | ||
+++ b/absl/base/internal/direct_mmap.h | ||
@@ -41,13 +41,9 @@ | ||
|
||
#ifdef __mips__ | ||
// Include definitions of the ABI currently in use. | ||
-#if defined(__BIONIC__) || !defined(__GLIBC__) | ||
-// Android doesn't have sgidefs.h, but does have asm/sgidefs.h, which has the | ||
+// bionic/musl C libs don't have sgidefs.h, but do have asm/sgidefs.h, which has the | ||
// definitions we need. | ||
#include <asm/sgidefs.h> | ||
-#else | ||
-#include <sgidefs.h> | ||
-#endif // __BIONIC__ || !__GLIBC__ | ||
#endif // __mips__ | ||
|
||
// SYS_mmap and SYS_munmap are not defined in Android. |
32 changes: 32 additions & 0 deletions
32
libs/abseil-cpp/patches/002-Remove-maes-option-from-cross-compilation.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# From https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/abseil-cpp | ||
From a573ccd57e713486e7d8e782d6b3b34fde01ff9e Mon Sep 17 00:00:00 2001 | ||
From: Sinan Kaya <[email protected]> | ||
Date: Mon, 3 Feb 2020 03:25:57 +0000 | ||
Subject: [PATCH] Remove maes option from cross-compilation | ||
|
||
Upstream-Status: Pending | ||
--- | ||
absl/copts/GENERATED_AbseilCopts.cmake | 4 ---- | ||
absl/copts/GENERATED_copts.bzl | 4 ---- | ||
2 files changed, 8 deletions(-) | ||
|
||
--- a/absl/copts/GENERATED_AbseilCopts.cmake | ||
+++ b/absl/copts/GENERATED_AbseilCopts.cmake | ||
@@ -229,7 +229,3 @@ list(APPEND ABSL_RANDOM_HWAES_ARM64_FLAG | ||
list(APPEND ABSL_RANDOM_HWAES_MSVC_X64_FLAGS | ||
) | ||
|
||
-list(APPEND ABSL_RANDOM_HWAES_X64_FLAGS | ||
- "-maes" | ||
- "-msse4.1" | ||
-) | ||
--- a/absl/copts/GENERATED_copts.bzl | ||
+++ b/absl/copts/GENERATED_copts.bzl | ||
@@ -230,7 +230,3 @@ ABSL_RANDOM_HWAES_ARM64_FLAGS = [ | ||
ABSL_RANDOM_HWAES_MSVC_X64_FLAGS = [ | ||
] | ||
|
||
-ABSL_RANDOM_HWAES_X64_FLAGS = [ | ||
- "-maes", | ||
- "-msse4.1", | ||
-] |
43 changes: 43 additions & 0 deletions
43
libs/abseil-cpp/patches/003-Remove-neon-option-from-cross-compilation.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# From https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/abseil-cpp | ||
From 632632508daf8bb3a5800dac937ffc33c6d85973 Mon Sep 17 00:00:00 2001 | ||
From: Jonas Gorski <[email protected]> | ||
Date: Thu, 16 Jun 2022 11:46:31 +0000 | ||
Subject: [PATCH] Remove neon option from cross compilation | ||
|
||
Not every arm platform supports neon instructions, so do not enforce | ||
them. | ||
|
||
Upstream-Status: Pending | ||
|
||
Signed-off-by: Jonas Gorski <[email protected]> | ||
--- | ||
absl/copts/GENERATED_AbseilCopts.cmake | 4 ---- | ||
absl/copts/GENERATED_copts.bzl | 4 ---- | ||
2 files changed, 8 deletions(-) | ||
|
||
--- a/absl/copts/GENERATED_AbseilCopts.cmake | ||
+++ b/absl/copts/GENERATED_AbseilCopts.cmake | ||
@@ -218,10 +218,6 @@ list(APPEND ABSL_MSVC_TEST_FLAGS | ||
"/DNOMINMAX" | ||
) | ||
|
||
-list(APPEND ABSL_RANDOM_HWAES_ARM32_FLAGS | ||
- "-mfpu=neon" | ||
-) | ||
- | ||
list(APPEND ABSL_RANDOM_HWAES_ARM64_FLAGS | ||
"-march=armv8-a+crypto" | ||
) | ||
--- a/absl/copts/GENERATED_copts.bzl | ||
+++ b/absl/copts/GENERATED_copts.bzl | ||
@@ -219,10 +219,6 @@ ABSL_MSVC_TEST_FLAGS = [ | ||
"/DNOMINMAX", | ||
] | ||
|
||
-ABSL_RANDOM_HWAES_ARM32_FLAGS = [ | ||
- "-mfpu=neon", | ||
-] | ||
- | ||
ABSL_RANDOM_HWAES_ARM64_FLAGS = [ | ||
"-march=armv8-a+crypto", | ||
] |
Oops, something went wrong.