From 932caf37d36eca2caec59bf48bc505364a5765bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Mon, 3 Feb 2025 10:49:45 +0100 Subject: python: Remove Python bindings * README: Update. * configure.ac: Remove checks, variables and file generations related to the Python bindings. Remove python from available_languages and default_languages. * lang/Makefile.am (DIST_SUBDIRS): Remove python. * lang/python: Remove. * m4/ax_pkg_swig.m4, m4/ax_python_devel.m4, m4/python.m4: Remove. -- The Python bindings have been moved to a separate Git repository: gpgmepy. GnuPG-bug-id: 7262 --- lang/python/doc/Makefile.am | 61 --------------------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 lang/python/doc/Makefile.am (limited to 'lang/python/doc/Makefile.am') diff --git a/lang/python/doc/Makefile.am b/lang/python/doc/Makefile.am deleted file mode 100644 index ec8a75fc..00000000 --- a/lang/python/doc/Makefile.am +++ /dev/null @@ -1,61 +0,0 @@ -# Makefile.am for the Python bindings. -# Copyright (C) 2019 g10 Code GmbH -# -# This file is part of GPGME. -# -# GPGME is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2.1 of the -# License, or (at your option) any later version. -# -# GPGME is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General -# Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see . -# SPDX-License-Identifier: LGPL-2.1-or-later - -EXTRA_DIST = README rst src texinfo - -if MAINTAINER_MODE - -ORGSRCS = index.org gpgme-python-howto.org maintenance-mode.org \ - short-history.org what-is-new.org what-was-new.org - -# Make sure we have 'rst' and 'texinfo' dirs in build directory -.PHONY: the_doc_dirs gen_rst gen_texi - -the_doc_dirs: - @if test ! -d rst; then echo $(MKDIR_P) rst; $(MKDIR_P) rst; fi - @if test ! -d texinfo; then echo $(MKDIR_P) texinfo; $(MKDIR_P) texinfo; fi - -# Generate RST files from ORG -gen_rst: - @for f in $(ORGSRCS); do if test ! -e rst/$${f%.org}.rst \ - -o rst/$${f%.org}.rst -ot $(srcdir)/src/$$f; then \ - echo pandoc -f org -t rst $(srcdir)/src/$$f -o rst/$${f%.org}.rst; \ - pandoc -f org -t rst $(srcdir)/src/$$f -o rst/$${f%.org}.rst; \ - fi; \ - done - -# Generate Texinfo files from ORG -gen_texi: - @for f in $(ORGSRCS); do if test ! -e texinfo/$${f%.org}.texi \ - -o texinfo/$${f%.org}.texi -ot $(srcdir)/src/$$f; then \ - echo pandoc -f org -t texinfo $(srcdir)/src/$$f -o texinfo/$${f%.org}.texi; \ - pandoc -f org -t texinfo $(srcdir)/src/$$f -o texinfo/$${f%.org}.texi; \ - fi; \ - done - -all-local: gen_rst gen_texi - -gen_rst gen_texi: the_doc_dirs - -maintainer-clean-local: - @for f in $(ORGSRCS); do \ - echo rm -f rst/$${f%.org}.rst texinfo/$${f%.org}.texi; \ - rm -f rst/$${f%.org}.rst texinfo/$${f%.org}.texi; \ - done -endif -- cgit v1.2.3