diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,15 +1,17 @@ name : python-sip -version : 4.19.13 -release : 14 +version : 4.19.16 +release : 15 source : - - https://netcologne.dl.sourceforge.net/project/pyqt/sip/sip-4.19.13/sip-4.19.13.tar.gz : e353a7056599bf5fbd5d3ff9842a6ab2ea3cf4e0304a0f925ec5862907c0d15e + - https://www.riverbankcomputing.com/static/Downloads/sip/4.19.16/sip-4.19.16.tar.gz : 184c790d58e9527fc6bdac2bbf8638f3d1b41dea922cad8eb83172b4ba70c620 license : GPL-3.0-or-later component : - programming.python - - ^python3-sip: programming.python - - ^python3-sip-devel: programming.devel -extract : no -summary : python-sip is a tool that creates python and python3 bindings for C and C++ libraries. + - ^python3-sip : programming.python + - ^python3-sip-devel : programming.devel +summary : + - python-sip is a tool that creates python 2 bindings for C and C++ libraries + - ^python3-sip : python-sip is a tool that creates python 3 bindings for C and C++ libraries + - ^python3-sip-devel : Development files for python3-sip description: | SIP is a tool for generating bindings for C++ classes so that they can be accessed as normal Python classes. SIP takes many of its ideas from SWIG but, because it is specifically designed for C++ and Python, is able to generate tighter bindings. SIP is so called because it is a small SWIG. builddeps : @@ -17,36 +19,44 @@ patterns : - /usr/bin/sip - /usr/lib/python2* - - ^python3-sip: + - ^python3-sip : - /usr/bin/sip3 - /usr/lib/python3* - - ^python3-sip-devel: + - ^python3-sip-devel : - /usr/include/python3* rundeps : - - ^python3-sip: + - ^python3-sip : - python-sip + - ^python3-sip-devel : + - python3-sip setup : | - mkdir python2-sip - tar xf $sources/sip-* -C python2-sip/ --strip-components=1 - cp -R $workdir/python2-sip $workdir/python3-sip - pushd python2-sip - python2 configure.py --sip-module PyQt5.sip CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LFLAGS="$LDFLAGS" + instdir=$(basename $PWD) + cd .. + echo py2build py2build-pyqt5 py3build py3build-pyqt5 | xargs -n 1 cp -a $instdir + rm -fr $instdir + + pushd py2build + python2 configure.py CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LFLAGS="$LDFLAGS" popd - pushd python3-sip - python3 configure.py --sip-module PyQt5.sip CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LFLAGS="$LDFLAGS" - sed -i 's/TARGET = sip/TARGET = sip3/' sipgen/Makefile + pushd py3build + python3 configure.py CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LFLAGS="$LDFLAGS" + sed -i 's/TARGET = sip/TARGET = sip3/' sipgen/Makefile popd -build : | - pushd python2-sip - %make + pushd py2build-pyqt5 + python2 configure.py --sip-module PyQt5.sip --no-tools --no-dist-info \ + CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LFLAGS="$LDFLAGS" popd - pushd python3-sip - %make + pushd py3build-pyqt5 + python3 configure.py --sip-module PyQt5.sip --no-tools --no-dist-info \ + CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LFLAGS="$LDFLAGS" popd +build : | + %make -C py2build + %make -C py3build + %make -C py2build-pyqt5 + %make -C py3build-pyqt5 install : | - pushd python2-sip - %make_install - popd - pushd python3-sip - %make_install - popd + %make_install -C py2build-pyqt5 + %make_install -C py3build-pyqt5 + %make_install -C py2build + %make_install -C py3build diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -2,19 +2,19 @@ python-sip - Joshua Strobl - joshua@stroblindustries.com + Pierre-Yves + pyu@riseup.net GPL-3.0-or-later programming.python - python-sip is a tool that creates python and python3 bindings for C and C++ libraries. + python-sip is a tool that creates python 2 bindings for C and C++ libraries SIP is a tool for generating bindings for C++ classes so that they can be accessed as normal Python classes. SIP takes many of its ideas from SWIG but, because it is specifically designed for C++ and Python, is able to generate tighter bindings. SIP is so called because it is a small SWIG. https://getsol.us/sources/README.Solus python-sip - python-sip is a tool that creates python and python3 bindings for C and C++ libraries. + python-sip is a tool that creates python 2 bindings for C and C++ libraries SIP is a tool for generating bindings for C++ classes so that they can be accessed as normal Python classes. SIP takes many of its ideas from SWIG but, because it is specifically designed for C++ and Python, is able to generate tighter bindings. SIP is so called because it is a small SWIG. programming.python @@ -22,39 +22,46 @@ /usr/bin/sip /usr/lib/python2.7/site-packages/PyQt5/sip.pyi /usr/lib/python2.7/site-packages/PyQt5/sip.so - /usr/lib/python2.7/site-packages/PyQt5_sip-4.19.13.dist-info/INSTALLER - /usr/lib/python2.7/site-packages/PyQt5_sip-4.19.13.dist-info/METADATA - /usr/lib/python2.7/site-packages/PyQt5_sip-4.19.13.dist-info/RECORD + /usr/lib/python2.7/site-packages/sip-4.19.16.dist-info/INSTALLER + /usr/lib/python2.7/site-packages/sip-4.19.16.dist-info/METADATA + /usr/lib/python2.7/site-packages/sip-4.19.16.dist-info/RECORD + /usr/lib/python2.7/site-packages/sip.pyi + /usr/lib/python2.7/site-packages/sip.so /usr/lib/python2.7/site-packages/sipconfig.py /usr/lib/python2.7/site-packages/sipdistutils.py python3-sip - python-sip is a tool that creates python and python3 bindings for C and C++ libraries. + python-sip is a tool that creates python 3 bindings for C and C++ libraries SIP is a tool for generating bindings for C++ classes so that they can be accessed as normal Python classes. SIP takes many of its ideas from SWIG but, because it is specifically designed for C++ and Python, is able to generate tighter bindings. SIP is so called because it is a small SWIG. programming.python - python-sip + python-sip /usr/bin/sip3 /usr/lib/python3.6/site-packages/PyQt5/sip.pyi /usr/lib/python3.6/site-packages/PyQt5/sip.so - /usr/lib/python3.6/site-packages/PyQt5_sip-4.19.13.dist-info/INSTALLER - /usr/lib/python3.6/site-packages/PyQt5_sip-4.19.13.dist-info/METADATA - /usr/lib/python3.6/site-packages/PyQt5_sip-4.19.13.dist-info/RECORD + /usr/lib/python3.6/site-packages/sip-4.19.16.dist-info/INSTALLER + /usr/lib/python3.6/site-packages/sip-4.19.16.dist-info/METADATA + /usr/lib/python3.6/site-packages/sip-4.19.16.dist-info/RECORD + /usr/lib/python3.6/site-packages/sip.pyi + /usr/lib/python3.6/site-packages/sip.so /usr/lib/python3.6/site-packages/sipconfig.py /usr/lib/python3.6/site-packages/sipdistutils.py python3-sip-devel - python-sip is a tool that creates python and python3 bindings for C and C++ libraries. + Development files for python3-sip SIP is a tool for generating bindings for C++ classes so that they can be accessed as normal Python classes. SIP takes many of its ideas from SWIG but, because it is specifically designed for C++ and Python, is able to generate tighter bindings. SIP is so called because it is a small SWIG. programming.devel + + python3-sip + /usr/include/python3.6m/sip.h @@ -66,19 +73,19 @@ programming.devel - python-sip + python-sip /usr/include/python2.7/sip.h - - 2019-04-18 - 4.19.13 + + 2019-04-29 + 4.19.16 Packaging update - Joshua Strobl - joshua@stroblindustries.com + Pierre-Yves + pyu@riseup.net \ No newline at end of file