Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duo-buildroot-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
duo-buildroot-sdk
Commits
165fc3c4
Commit
165fc3c4
authored
Sep 05, 2023
by
carbon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buildroot: add python-freetype required by the pinpong library
parent
11caee79
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
77 additions
and
0 deletions
+77
-0
buildroot-2021.05/configs/milkv_duo_musl_riscv64_defconfig
buildroot-2021.05/configs/milkv_duo_musl_riscv64_defconfig
+3
-0
buildroot-2021.05/dl/freetype/.lock
buildroot-2021.05/dl/freetype/.lock
+0
-0
buildroot-2021.05/dl/freetype/freetype-2.10.4.tar.xz
buildroot-2021.05/dl/freetype/freetype-2.10.4.tar.xz
+0
-0
buildroot-2021.05/dl/python-freetype/.lock
buildroot-2021.05/dl/python-freetype/.lock
+0
-0
buildroot-2021.05/dl/python-freetype/freetype-py-2.4.0.zip
buildroot-2021.05/dl/python-freetype/freetype-py-2.4.0.zip
+0
-0
buildroot-2021.05/package/Config.in
buildroot-2021.05/package/Config.in
+1
-0
buildroot-2021.05/package/python-freetype/0001-do-not-need-setuptools_scm.patch
...age/python-freetype/0001-do-not-need-setuptools_scm.patch
+41
-0
buildroot-2021.05/package/python-freetype/Config.in
buildroot-2021.05/package/python-freetype/Config.in
+7
-0
buildroot-2021.05/package/python-freetype/python-freetype.hash
...root-2021.05/package/python-freetype/python-freetype.hash
+5
-0
buildroot-2021.05/package/python-freetype/python-freetype.mk
buildroot-2021.05/package/python-freetype/python-freetype.mk
+20
-0
No files found.
buildroot-2021.05/configs/milkv_duo_musl_riscv64_defconfig
View file @
165fc3c4
...
@@ -343,6 +343,7 @@ BR2_PACKAGE_PYTHON_SMBUS_CFFI=y
...
@@ -343,6 +343,7 @@ BR2_PACKAGE_PYTHON_SMBUS_CFFI=y
BR2_PACKAGE_PYTHON_SPIDEV=y
BR2_PACKAGE_PYTHON_SPIDEV=y
BR2_PACKAGE_PYTHON_MODBUS_TK=y
BR2_PACKAGE_PYTHON_MODBUS_TK=y
BR2_PACKAGE_PYTHON_EVDEV=y
BR2_PACKAGE_PYTHON_EVDEV=y
BR2_PACKAGE_PYTHON_FREETYPE=y
#
#
# Compression and decompression
# Compression and decompression
...
@@ -367,6 +368,8 @@ BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS=y
...
@@ -367,6 +368,8 @@ BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS=y
BR2_PACKAGE_LIBGPG_ERROR_SYSCFG="riscv64-unknown-linux-gnu"
BR2_PACKAGE_LIBGPG_ERROR_SYSCFG="riscv64-unknown-linux-gnu"
BR2_PACKAGE_PROVIDES_HOST_OPENSSL="host-libopenssl"
BR2_PACKAGE_PROVIDES_HOST_OPENSSL="host-libopenssl"
BR2_PACKAGE_FREETYPE=y
#
#
# JSON/XML
# JSON/XML
#
#
...
...
buildroot-2021.05/dl/freetype/.lock
0 → 100644
View file @
165fc3c4
buildroot-2021.05/dl/freetype/freetype-2.10.4.tar.xz
0 → 100644
View file @
165fc3c4
File added
buildroot-2021.05/dl/python-freetype/.lock
0 → 100644
View file @
165fc3c4
buildroot-2021.05/dl/python-freetype/freetype-py-2.4.0.zip
0 → 100644
View file @
165fc3c4
File added
buildroot-2021.05/package/Config.in
View file @
165fc3c4
...
@@ -995,6 +995,7 @@ menu "External python modules"
...
@@ -995,6 +995,7 @@ menu "External python modules"
source "package/python-flask-wtf/Config.in"
source "package/python-flask-wtf/Config.in"
source "package/python-flatbuffers/Config.in"
source "package/python-flatbuffers/Config.in"
source "package/python-flup/Config.in"
source "package/python-flup/Config.in"
source "package/python-freetype/Config.in"
source "package/python-frozenlist/Config.in"
source "package/python-frozenlist/Config.in"
source "package/python-functools32/Config.in"
source "package/python-functools32/Config.in"
source "package/python-future/Config.in"
source "package/python-future/Config.in"
...
...
buildroot-2021.05/package/python-freetype/0001-do-not-need-setuptools_scm.patch
0 → 100644
View file @
165fc3c4
From d96035f5c857acc8fdf0fb83152ed781fcf13af4 Mon Sep 17 00:00:00 2001
From: carbon <carbon@milkv.io>
Date: Mon, 28 Aug 2023 18:20:15 +0800
Subject: [PATCH] do not need setuptools_scm
---
pyproject.toml | 2 +-
setup.py | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index cb5ee0c..98ae97a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,2 +1,2 @@
[build-system]
-requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4", "certifi", "cmake"]
+requires = ["setuptools>=42", "wheel", "certifi", "cmake"]
diff --git a/setup.py b/setup.py
index af7f101..d4183ca 100644
--- a/setup.py
+++ b/setup.py
@@ -102,7 +102,6 @@
description = open(
setup(
name='freetype-py',
- use_scm_version=True,
description='Freetype python bindings',
long_description=description,
author='Nicolas P. Rougier',
@@ -127,7 +126,6 @@
setup(
'Topic :: Multimedia :: Graphics',
],
keywords=['freetype', 'font'],
- setup_requires=['setuptools_scm'],
entry_points={
"pyinstaller40": [
"hook-dirs = freetype.__pyinstaller:get_hook_dirs",
--
2.25.1
buildroot-2021.05/package/python-freetype/Config.in
0 → 100644
View file @
165fc3c4
config BR2_PACKAGE_PYTHON_FREETYPE
bool "python-freetype"
help
Freetype Python provides bindings for the FreeType library.
Only the high-level API is bound.
https://pypi.python.org/pypi/freetype-pi
buildroot-2021.05/package/python-freetype/python-freetype.hash
0 → 100644
View file @
165fc3c4
# md5, sha256 from https://pypi.org/project/freetype-py/
md5 c63b1ee876bf97be9d2be49745e10be7 freetype-py-2.4.0.zip
sha256 8ad81195d2f8f339aba61700cebfbd77defad149c51f59b75a2a5e37833ae12e freetype-py-2.4.0.zip
# Locally computed sha256 checksums
sha256 60386caf4d85fb57b5cc5470f1a00de1692fb28e8b731f7f9187f64451dbe641 LICENSE.txt
buildroot-2021.05/package/python-freetype/python-freetype.mk
0 → 100644
View file @
165fc3c4
################################################################################
#
# freetype-py
#
################################################################################
PYTHON_FREETYPE_VERSION
=
2.4.0
PYTHON_FREETYPE_SOURCE
=
freetype-py-
$(PYTHON_FREETYPE_VERSION)
.zip
PYTHON_FREETYPE_SITE
=
https://files.pythonhosted.org/packages/a7/6d/66c222fae5dc5fd13fd840ab75feb49f78963f560a56e134c85f1236a94c
PYTHON_FREETYPE_SETUP_TYPE
=
setuptools
PYTHON_FREETYPE_LICENSE
=
Revised BSD License
PYTHON_FREETYPE_LICENSE_FILES
=
LICENSE.txt
define
PYTHON_FREETYPE_EXTRACT_CMDS
$(UNZIP)
-d
$(@D)
$(PYTHON_FREETYPE_DL_DIR)/$(PYTHON_FREETYPE_SOURCE)
mv
$(@D)/freetype-py-$(PYTHON_FREETYPE_VERSION)/*
$(@D)
$(RM)
-r
$(@D)/freetype-py-$(PYTHON_FREETYPE_VERSION)
endef
$(eval
$(python-package))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment