1 ################################################################################
3 # python-distutils.cygclass - compatibility wrapper for python2-distutils.cygclass
5 # Part of cygport - Cygwin packaging application
6 # Copyright (C) 2006-2020 Cygport authors
7 # Provided by the Cygwin project <https://cygwin.com/>
9 # cygport is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 3 of the License, or
12 # (at your option) any later version.
14 # cygport is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with cygport. If not, see <https://www.gnu.org/licenses/>.
22 ################################################################################
24 #****ih* Cygclasses/python-distutils.cygclass
26 # Deprecated compatibility wrapper for python2-distutils.cygclass.
28 # python2-distutils.cygclass, python.cygclass
31 warning "python-distutils.cygclass: deprecated compatibility wrapper for the python2-distutils cygclass"
33 inherit python2-distutils python
35 #****iC* python-distutils.cygclass/python_distutils_compile
37 # Deprecated compatibility wrapper for python2_distutils_compile.
39 python_distutils_compile() {
40 python2_distutils_compile "$@"
43 #****iI* python-distutils.cygclass/python_distutils_install
45 # Deprecated compatibility wrapper for python2_distutils_install.
47 python_distutils_install() {
48 python2_distutils_install "$@"
51 readonly -f python_distutils_compile python_distutils_install