Skip to content

py3-docutils #17057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gdk-pixbuf.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: gdk-pixbuf
version: 2.42.10
epoch: 4
epoch: 5
description: GTK+ image loading library
copyright:
- license: LGPL-2.1-or-later
Expand Down
10 changes: 8 additions & 2 deletions py3-docutils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,16 @@ pipeline:
mkdir -p "${{targets.destdir}}/lib"
cp -r docutils "${{targets.destdir}}/lib"

mkdir -p "${{targets.destdir}}/usr/bin"
cd tools
for tool in *.py; do
cp "$tool" "${{targets.destdir}}"/usr/bin/"${tool/.py/}"
done

- name: Post Install
runs: |
python_version=$(python3 --version | awk '{print $2}' | cut -d'.' -f1,2)
PYTHON_VERSION="python$python_version"
export PATH=$PATH:/lib/docutils/tools/
PYTHON_VERSION=python$(python3 --version | awk '{print $2}' | cut -d'.' -f1,2)

mkdir -p "${{targets.destdir}}/usr/lib/${PYTHON_VERSION}/site-packages/"
cp -r "${{targets.destdir}}/lib/docutils" "${{targets.destdir}}/usr/lib/${PYTHON_VERSION}/site-packages/"
Expand Down
Loading