From a81f311d04c5ae063862991e85ad3276742ab849 Mon Sep 17 00:00:00 2001 From: Frankie Dintino Date: Mon, 14 Oct 2024 22:43:17 -0400 Subject: [PATCH] fixup --- setup.py | 2 +- wheelbuild/config.sh | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/setup.py b/setup.py index 0237695..4f07351 100644 --- a/setup.py +++ b/setup.py @@ -65,7 +65,7 @@ def readme(): download_url="https://github.com/fdintino/pillow-avif-plugin/releases", install_requires=[], extras_require={ - "test": [ + "tests": [ "gcovr", "pytest", "packaging", diff --git a/wheelbuild/config.sh b/wheelbuild/config.sh index 3323ef6..81c228c 100644 --- a/wheelbuild/config.sh +++ b/wheelbuild/config.sh @@ -404,19 +404,19 @@ function ensure_sudo { function append_licenses { group_start "Append licenses" - for filename in $REPO_DIR/wheelbuild/dependency_licenses/*.txt; do - echo -e "\n\n----\n\n$(basename $filename | cut -f 1 -d '.')\n" | cat >> $REPO_DIR/LICENSE - cat $filename >> $REPO_DIR/LICENSE + for filename in wheelbuild/dependency_licenses/*.txt; do + echo -e "\n\n----\n\n$(basename $filename | cut -f 1 -d '.')\n" | cat >> LICENSE + cat $filename >> LICENSE done - echo -e "\n\n" | cat >> $REPO_DIR/LICENSE - cat $REPO_DIR/wheelbuild/dependency_licenses/PATENTS >> $REPO_DIR/LICENSE + echo -e "\n\n" | cat >> LICENSE + cat wheelbuild/dependency_licenses/PATENTS >> LICENSE group_end } function pre_build { echo "::endgroup::" - if [ -e /etc/yum.repos.d ]; then + if [ -e /etc/yum.repos.d/CentOS-*.repo ]; then sed -i -e '/^mirrorlist=http:\/\/mirrorlist.centos.org\// { s/^/#/ ; T }' \ -e '{ s/#baseurl=/baseurl=/ ; s/mirror\.centos\.org/vault.centos.org/ }' \ /etc/yum.repos.d/CentOS-*.repo