Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Oct 15, 2024
1 parent f0c710c commit a81f311
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
12 changes: 6 additions & 6 deletions wheelbuild/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a81f311

Please sign in to comment.