mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-29 06:27:14 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
From ee3010004a005bc852e6b9318807f373bd89e901 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sat, 17 Aug 2024 14:10:16 +0200
|
||||
Subject: [PATCH] setup.py: drop data_files, installs LICENSE to incorrect
|
||||
place
|
||||
|
||||
The data_files statement in the setup() calls installs the LICENSE
|
||||
file in the wrong place: in /usr/LICENSE, or even /LICENSE depending
|
||||
on the configuration.
|
||||
|
||||
So let's drop this, and let setuptools install the LICENSE file
|
||||
automatically: since setuptools v56, the license_files attribute is
|
||||
automatically assigned to a default value, which includes "LICENSE",
|
||||
so there is in fact nothing to do to the get the LICENSE file
|
||||
installed at the correct location. See
|
||||
https://setuptools.pypa.io/en/latest/history.html#v56-0-0.
|
||||
|
||||
Upstream: https://github.com/s0md3v/huepy/pull/42
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
setup.py | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 8b5a726..bd41f1c 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -30,7 +30,6 @@ setup(
|
||||
keywords='hue, color, terminal color, colorama',
|
||||
packages=find_packages(),
|
||||
py_modules=['huepy'],
|
||||
- data_files=[('', ['LICENSE'])],
|
||||
include_package_data=True,
|
||||
classifiers=[
|
||||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
||||
--
|
||||
2.46.0
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_PYTHON_HUEPY
|
||||
bool "python-huepy"
|
||||
help
|
||||
Hue will help you to print awesomely in terminals.
|
||||
|
||||
https://github.com/s0md3v/hue
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/huepy/json
|
||||
md5 394a1072bec18c27097b053c40ddf0ea huepy-1.2.1.tar.gz
|
||||
sha256 5b29beef797312fb7606188bc5cd98f78ab8f7e01576427a9312f1c9b20b759d huepy-1.2.1.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b LICENSE
|
||||
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-huepy
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_HUEPY_VERSION = 1.2.1
|
||||
PYTHON_HUEPY_SOURCE = huepy-$(PYTHON_HUEPY_VERSION).tar.gz
|
||||
PYTHON_HUEPY_SITE = https://files.pythonhosted.org/packages/d6/4e/2dae447d8858a31158ca6c313f5d1902bc83b8542bb5f10c0307de2973bc
|
||||
PYTHON_HUEPY_LICENSE = GPL-3.0
|
||||
PYTHON_HUEPY_LICENSE_FILES = LICENSE
|
||||
PYTHON_HUEPY_SETUP_TYPE = setuptools
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user