-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,18 +46,35 @@ jobs: | |
# - name: Update the gpg dependency in the pyproject file | ||
# # 1.16 is the version of gpgme that is currently available in ubuntu-latest (currently 22.04) | ||
# run: sed -i 's|gpg>1.10.0|gpg @ https://dev.gnupg.org/source/[email protected]|' pyproject.toml | ||
- name: Clone the gpgme repository | ||
run: git clone --depth 1 --branch gpgme-1.17.0 https://dev.gnupg.org/source/gpgme.git gpgme | ||
#- name: Clone the gpgme repository | ||
# run: git clone --depth 1 --branch gpgme-1.17.0 https://dev.gnupg.org/source/gpgme.git gpgme | ||
- name: Download gpgme | ||
run: | | ||
wget https://gnupg.org/ftp/gcrypt/gpgme/gpgme-$VERSION.tar.bz2 https://gnupg.org/ftp/gcrypt/gpgme/gpgme-$VERSION.tar.bz2.sig | ||
curl https://gnupg.org/signature_key.asc | gpg --import | ||
for k in BCEF7E294B092E28 528897B826403ADA 528897B826403ADA E98E9B2D19C6C8BD E98E9B2D19C6C8BD 549E695E905BA208 549E695E905BA208; do | ||
gpg -k $k | ||
done | ||
gpg --verify gpgme-$VERSION.tar.bz2.sig gpgme-$VERSION.tar.bz2 | ||
tar -xf gpgme-$VERSION.tar.bz2 | ||
mv gpgme-$VERSION gpgme | ||
env: | ||
VERSION: 1.16.0 | ||
|
||
- name: Build the gpgme bindings | ||
run: | | ||
ls -l $(which -a python python3) | ||
set -e | ||
./autogen.sh | ||
./configure --enable-maintainer-mode --enable-languages=python | ||
make | ||
sudo make install | ||
working-directory: gpgme | ||
env: | ||
PYTHON: /usr/bin/python3 | ||
|
||
- name: debug gpgme result | ||
run: find | ||
|