From 452e2891842f54da2ec9bebe8b160c7a757bae71 Mon Sep 17 00:00:00 2001 From: Ryuta Suzuki Date: Mon, 4 Apr 2016 15:44:26 +0900 Subject: [PATCH] python-ipython: Removed python-path from dependency python-pickleshare: Added MSYS2_ARG_CONV_EXCL variable. Added (mingw-w64) at the end of description. Removed python 2.8 compare from dependency. Added python-path as dependency. python-path: Added MSYS2_ARG_CONV_EXCL variable. Added (mingw-w64) at the end of description. Removed python 2.8 compare from dependency. python-traitlets: Added MSYS2_ARG_CONV_EXCL variable. Added (mingw-w64) at the end of description. Removed python 2.8 compare from dependency. python-simplegeneric: Added MSYS2_ARG_CONV_EXCL variable. Added (mingw-w64) at the end of description. Removed python 2.8 compare from dependency. python-ipython_genutils: Added MSYS2_ARG_CONV_EXCL variable. Added (mingw-w64) at the end of description. Removed python 2.8 compare from dependency. --- mingw-w64-python-ipython/PKGBUILD | 2 -- mingw-w64-python-ipython_genutils/PKGBUILD | 10 ++++++---- mingw-w64-python-path/PKGBUILD | 10 ++++++---- mingw-w64-python-pickleshare/PKGBUILD | 12 ++++++++---- mingw-w64-python-simplegeneric/PKGBUILD | 10 ++++++---- mingw-w64-python-traitlets/PKGBUILD | 10 ++++++---- 6 files changed, 32 insertions(+), 22 deletions(-) diff --git a/mingw-w64-python-ipython/PKGBUILD b/mingw-w64-python-ipython/PKGBUILD index 57e4838298..8bca0ec602 100644 --- a/mingw-w64-python-ipython/PKGBUILD +++ b/mingw-w64-python-ipython/PKGBUILD @@ -56,7 +56,6 @@ package_python3-ipython() { "${MINGW_PACKAGE_PREFIX}-python3-traitlets" "${MINGW_PACKAGE_PREFIX}-python3-simplegeneric" "${MINGW_PACKAGE_PREFIX}-python3-pickleshare" - "${MINGW_PACKAGE_PREFIX}-python3-path" "${MINGW_PACKAGE_PREFIX}-python3-ipython_genutils") optdepends=("${MINGW_PACKAGE_PREFIX}-python3-nose: for IPython's test suite" "${MINGW_PACKAGE_PREFIX}-python3-pyqt4: for ipython qtconsole" @@ -81,7 +80,6 @@ package_python2-ipython() { "${MINGW_PACKAGE_PREFIX}-python2-traitlets" "${MINGW_PACKAGE_PREFIX}-python2-simplegeneric" "${MINGW_PACKAGE_PREFIX}-python2-pickleshare" - "${MINGW_PACKAGE_PREFIX}-python2-path" "${MINGW_PACKAGE_PREFIX}-python2-ipython_genutils") optdepends=("${MINGW_PACKAGE_PREFIX}-python2-nose: for IPython's test suite" "${MINGW_PACKAGE_PREFIX}-python2-pyqt4: for ipython qtconsole" diff --git a/mingw-w64-python-ipython_genutils/PKGBUILD b/mingw-w64-python-ipython_genutils/PKGBUILD index 359dd089e5..1f5008e9ac 100644 --- a/mingw-w64-python-ipython_genutils/PKGBUILD +++ b/mingw-w64-python-ipython_genutils/PKGBUILD @@ -8,7 +8,7 @@ pkgname=( ) pkgver=0.1.0 pkgrel=1 -pkgdesc="IPython vestigial utilities" +pkgdesc="IPython vestigial utilities (mingw-w64)" url="https://github.com/ipython/ipython_genutils" arch=('any') license=('Modified BSD') @@ -38,16 +38,18 @@ package_python3-ipython_genutils() { ) cd ${srcdir}/${_realname}-${pkgver} - python3 setup.py install --root=${pkgdir} --prefix=/${MINGW_PREFIX} --optimize=1 + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python3 setup.py install --root=${pkgdir} --prefix=${MINGW_PREFIX} --optimize=1 } package_python2-ipython_genutils() { depends=( - "${MINGW_PACKAGE_PREFIX}-python2>=2.7.0" "${MINGW_PACKAGE_PREFIX}-python2<2.8.0" + "${MINGW_PACKAGE_PREFIX}-python2>=2.7.0" ) cd ${srcdir}/${_realname}-${pkgver}-py2 - python2 setup.py install --root=${pkgdir} --prefix=/${MINGW_PREFIX} --optimize=1 + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python2 setup.py install --root=${pkgdir} --prefix=${MINGW_PREFIX} --optimize=1 } package_mingw-w64-i686-python2-ipython_genutils() { diff --git a/mingw-w64-python-path/PKGBUILD b/mingw-w64-python-path/PKGBUILD index a0454d8636..489ce7dc80 100644 --- a/mingw-w64-python-path/PKGBUILD +++ b/mingw-w64-python-path/PKGBUILD @@ -8,7 +8,7 @@ pkgname=( ) pkgver=8.1.2 pkgrel=1 -pkgdesc="File system based database that uses python pickles" +pkgdesc="File system based database that uses python pickles (mingw-w64)" url="https://github.com/jaraco/path.py" arch=('any') license=('MIT') @@ -51,18 +51,20 @@ package_python3-path() { ) cd ${srcdir}/${_realname}-${pkgver} - python3 setup.py install --root=${pkgdir} --prefix=/${MINGW_PREFIX} --optimize=1 + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python3 setup.py install --root=${pkgdir} --prefix=${MINGW_PREFIX} --optimize=1 install -d ${pkgdir}/${MINGW_PREFIX}/share/licenses/python3-${_realname} head -n 21 path.py > ${pkgdir}/${MINGW_PREFIX}/share/licenses/python3-${_realname}/LICENSE } package_python2-path() { depends=( - "${MINGW_PACKAGE_PREFIX}-python2>=2.7.0" "${MINGW_PACKAGE_PREFIX}-python2<2.8.0" + "${MINGW_PACKAGE_PREFIX}-python2>=2.7.0" ) cd ${srcdir}/${_realname}-${pkgver}-py2 - python2 setup.py install --root=${pkgdir} --prefix=/${MINGW_PREFIX} --optimize=1 + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python2 setup.py install --root=${pkgdir} --prefix=${MINGW_PREFIX} --optimize=1 install -d ${pkgdir}/${MINGW_PREFIX}/share/licenses/python2-${_realname} head -n 21 path.py > ${pkgdir}/${MINGW_PREFIX}/share/licenses/python2-${_realname}/LICENSE } diff --git a/mingw-w64-python-pickleshare/PKGBUILD b/mingw-w64-python-pickleshare/PKGBUILD index e4ba635179..458cd626b3 100644 --- a/mingw-w64-python-pickleshare/PKGBUILD +++ b/mingw-w64-python-pickleshare/PKGBUILD @@ -8,7 +8,7 @@ pkgname=( ) pkgver=0.5 pkgrel=1 -pkgdesc="File system based database that uses python pickles" +pkgdesc="File system based database that uses python pickles (mingw-w64)" url="https://github.com/pickleshare/pickleshare" arch=('any') license=('MIT') @@ -46,19 +46,23 @@ check() { package_python3-pickleshare() { depends=( "${MINGW_PACKAGE_PREFIX}-python3>=3.5.0" "${MINGW_PACKAGE_PREFIX}-python3<3.6.0" + "${MINGW_PACKAGE_PREFIX}-python3-path>=8.1" ) cd ${srcdir}/${_realname}-${pkgver} - python3 setup.py install --root=${pkgdir} --prefix=/${MINGW_PREFIX} --optimize=1 + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python3 setup.py install --root=${pkgdir} --prefix=${MINGW_PREFIX} --optimize=1 } package_python2-pickleshare() { depends=( - "${MINGW_PACKAGE_PREFIX}-python2>=2.7.0" "${MINGW_PACKAGE_PREFIX}-python2<2.8.0" + "${MINGW_PACKAGE_PREFIX}-python2>=2.7.0" + "${MINGW_PACKAGE_PREFIX}-python2-path>=8.1" ) cd ${srcdir}/${_realname}-${pkgver}-py2 - python2 setup.py install --root=${pkgdir} --prefix=/${MINGW_PREFIX} --optimize=1 + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python2 setup.py install --root=${pkgdir} --prefix=${MINGW_PREFIX} --optimize=1 } package_mingw-w64-i686-python2-pickleshare() { diff --git a/mingw-w64-python-simplegeneric/PKGBUILD b/mingw-w64-python-simplegeneric/PKGBUILD index cb5c3c7095..208f36746a 100644 --- a/mingw-w64-python-simplegeneric/PKGBUILD +++ b/mingw-w64-python-simplegeneric/PKGBUILD @@ -8,7 +8,7 @@ pkgname=( ) pkgver=0.8.1 pkgrel=1 -pkgdesc="File system based database that uses python pickles" +pkgdesc="File system based database that uses python pickles (mingw-w64)" url="https://github.com/jaraco/simplegeneric.py" arch=('any') license=('Zope Public License') @@ -38,16 +38,18 @@ package_python3-simplegeneric() { ) cd ${srcdir}/${_realname}-${pkgver} - python3 setup.py install --root=${pkgdir} --prefix=/${MINGW_PREFIX} --optimize=1 + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python3 setup.py install --root=${pkgdir} --prefix=${MINGW_PREFIX} --optimize=1 } package_python2-simplegeneric() { depends=( - "${MINGW_PACKAGE_PREFIX}-python2>=2.7.0" "${MINGW_PACKAGE_PREFIX}-python2<2.8.0" + "${MINGW_PACKAGE_PREFIX}-python2>=2.7.0" ) cd ${srcdir}/${_realname}-${pkgver}-py2 - python2 setup.py install --root=${pkgdir} --prefix=/${MINGW_PREFIX} --optimize=1 + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python2 setup.py install --root=${pkgdir} --prefix=${MINGW_PREFIX} --optimize=1 } package_mingw-w64-i686-python2-simplegeneric() { diff --git a/mingw-w64-python-traitlets/PKGBUILD b/mingw-w64-python-traitlets/PKGBUILD index e8473c2263..4f1bb4d9c2 100644 --- a/mingw-w64-python-traitlets/PKGBUILD +++ b/mingw-w64-python-traitlets/PKGBUILD @@ -8,7 +8,7 @@ pkgname=( ) pkgver=4.1.0 pkgrel=1 -pkgdesc="A lightweight Traits like module" +pkgdesc="A lightweight Traits like module (mingw-w64)" url="https://github.com/ipython/traitlets" arch=('any') license=('Modified BSD') @@ -50,16 +50,18 @@ package_python3-traitlets() { ) cd ${srcdir}/${_realname}-${pkgver} - python3 setup.py install --root=${pkgdir} --prefix=/${MINGW_PREFIX} --optimize=1 + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python3 setup.py install --root=${pkgdir} --prefix=${MINGW_PREFIX} --optimize=1 } package_python2-traitlets() { depends=( - "${MINGW_PACKAGE_PREFIX}-python2>=2.7.0" "${MINGW_PACKAGE_PREFIX}-python2<2.8.0" + "${MINGW_PACKAGE_PREFIX}-python2>=2.7.0" ) cd ${srcdir}/${_realname}-${pkgver}-py2 - python2 setup.py install --root=${pkgdir} --prefix=/${MINGW_PREFIX} --optimize=1 + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python2 setup.py install --root=${pkgdir} --prefix=${MINGW_PREFIX} --optimize=1 } package_mingw-w64-i686-python2-traitlets() {