forked from msys2/MINGW-packages
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* openjpeg 2.1.2 - rel. 2 - Disable JPIP because causing compilation failures -not sure why * Revert "openjpeg 2.1.2 - rel. 2 - Disable JPIP because causing compilation failures -not sure why" This reverts commit ea56c3c. * harfbuzz: Update to 1.3.2 * cppcheck: Update to 1.76 * libvirt: Update to 2.3.0 * libbluray: Update to 0.9.3 * libebml: Update to 1.3.4 * libmatroska: Update to 1.4.5 * libbluray: Place in proper folder * x264: Is git package. Update to r2721.72d53ab * l-smash: Rebuild * x265: Update to 2.1 * ffmpeg: Update to 3.1.4 * nspr: Update to 4.13 * Fix PKGBUILDs. Rebuild * gdl: Update to 3.22.0 * Python updates and additions PKGBUILD-templates - Update for new SF, add build, and make dirs for each py version and arch. python-distutils-extra - 2.39 - new package python-mock - 2.0 Update to altest version python-pbr: 1.10.0 - Update to latest version python-pgen2 - 0.1.0 - New package python-pip: rebuildm, fix issue with symlink, and rework slightly to match updated template python-pyparsing - 2.1.10 - Update to latest version python-pytest - 3.0.3 - Update to latest version python-setuptools - 28.6.0 - Update ot latest version python-cython - 0.24.1 - Update to latest version
- Loading branch information
1 parent
09fb769
commit e9395ba
Showing
10 changed files
with
258 additions
and
58 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
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
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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Maintainer: Alexey Pavlov <alexpux@gmail.com> | ||
|
||
_realname=python-distutils-extra | ||
pkgname=("${MINGW_PACKAGE_PREFIX}-python3-distutils-extra" "${MINGW_PACKAGE_PREFIX}-python2-distutils-extra") | ||
pkgver=2.39 | ||
pkgrel=1 | ||
pkgdesc="Enhancements to the Python build system (mingw-w64)" | ||
arch=('any') | ||
license=('GPL') | ||
url="https://launchpad.net/python-distutils-extra" | ||
makedepends=("${MINGW_PACKAGE_PREFIX}-python3-setuptools" "${MINGW_PACKAGE_PREFIX}-python2-setuptools") | ||
source=("https://launchpad.net/${_realname}/trunk/$pkgver/+download/${_realname}-$pkgver.tar.gz" | ||
"https://launchpad.net/${_realname}/trunk/$pkgver/+download/${_realname}-$pkgver.tar.gz.asc") | ||
validpgpkeys=("3DB46B55EFA59D40E6232148D14EF15DAFE11347") # Martin Pitt <martinpitt@gnome.org> | ||
md5sums=('16e06db0ef73a35b4bff4b9eed5699b5' | ||
'SKIP') | ||
|
||
prepare() { | ||
cd "$srcdir"/ | ||
for pver in {2,3}; do | ||
rm -rf python${pver}-build-${CARCH}| true | ||
cp -r "${_realname}-${pkgver}" "python${pver}-build-${CARCH}" | ||
done | ||
} | ||
|
||
build() { | ||
for pver in {2,3}; do | ||
msg "Python ${pver} build for ${CARCH}" | ||
cd "${srcdir}/python${pver}-build-${CARCH}" | ||
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ | ||
${MINGW_PREFIX}/bin/python${pver} setup.py build | ||
done | ||
} | ||
check() { | ||
for pver in {2,3}; do | ||
msg "Python ${pver} test for ${CARCH}" | ||
cd "${srcdir}/python${pver}-build-${CARCH}" | ||
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ | ||
${MINGW_PREFIX}/bin/python${pver} setup.py test | ||
done | ||
} | ||
|
||
package_python3-distutils-extra() { | ||
depends=("${MINGW_PACKAGE_PREFIX}-python3>=3.3" "intltool") | ||
|
||
cd "${srcdir}/python3-build-${CARCH}" | ||
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ | ||
${MINGW_PREFIX}/bin/python3 setup.py install --root="${pkgdir}" --skip-build | ||
} | ||
|
||
package_python2-distutils-extra() { | ||
depends=("${MINGW_PACKAGE_PREFIX}-python2>=2.7" "intltool") | ||
|
||
cd "${srcdir}/python2-build-${CARCH}" | ||
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ | ||
${MINGW_PREFIX}/bin/python2 setup.py install --root="${pkgdir}" --skip-build | ||
} | ||
|
||
|
||
# Wrappers | ||
package_mingw-w64-i686-python2-distutils-extra() { | ||
package_python2-distutils-extra | ||
} | ||
|
||
package_mingw-w64-i686-python3-distutils-extra() { | ||
package_python3-distutils-extra | ||
} | ||
|
||
package_mingw-w64-x86_64-python2-distutils-extra() { | ||
package_python2-distutils-extra | ||
} | ||
|
||
package_mingw-w64-x86_64-python3-distutils-extra() { | ||
package_python3-distutils-extra | ||
} | ||
|
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
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
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 |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Maintainer: J. Peter Mugaas <jpmugaas@suddenlink.net> | ||
#This value is here because some python package names have capital letters | ||
#while there is a strong preference for lowercase letters in ArchLinux and | ||
#MSYS packages. | ||
_pyname=pgen2 | ||
_realname=pgen2 | ||
pkgbase=mingw-w64-python-${_realname} | ||
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") | ||
pkgver=0.1.0 | ||
pkgrel=1 | ||
pkgdesc="Pure Python implementation of pgen, the Python parser generator (mingw-w64)" | ||
arch=('any') | ||
url='https://github.com/mythonlang/pgen2/' | ||
license=('MIT') | ||
makedepends=("${MINGW_PACKAGE_PREFIX}-python2" | ||
"${MINGW_PACKAGE_PREFIX}-python3" | ||
"${MINGW_PACKAGE_PREFIX}-python3-setuptools" | ||
"${MINGW_PACKAGE_PREFIX}-python2-setuptools") | ||
options=('staticlibs' 'strip' '!debug') | ||
_dtoken="2f/95/c36839d594d4f58b17e01a8e6f661f96337b546b8e4fd281d166cb5dc22a" | ||
source=("https://pypi.python.org/packages/${_dtoken}/${_pyname}-${pkgver}.tar.gz") | ||
sha256sums=('a5057017c99eb45512f1cc772bae5953ed64104c1c705f0438aa00d06ee65804') | ||
|
||
prepare() { | ||
cd "$srcdir"/ | ||
for pver in {2,3}; do | ||
rm -rf python${pver}-build-${CARCH} | true | ||
cp -r "${_pyname}-${pkgver}" "python${pver}-build-${CARCH}" | ||
done | ||
} | ||
|
||
build() { | ||
for pver in {2,3}; do | ||
msg "Python ${pver} build for ${CARCH}" | ||
cd "${srcdir}/python${pver}-build-${CARCH}" | ||
${MINGW_PREFIX}/bin/python${pver} setup.py build | ||
done | ||
} | ||
|
||
check() { | ||
for pver in {2,3}; do | ||
msg "Python ${pver} test for ${CARCH}" | ||
cd "${srcdir}/python${pver}-build-${CARCH}" | ||
${MINGW_PREFIX}/bin/python${pver} setup.py check -v -m | ||
done | ||
} | ||
|
||
# Note that build() is sometimes skipped because it's done in | ||
# the packages setup.py install for simplicity if you can do so. | ||
package_python3-pgen2() { | ||
depends=("${MINGW_PACKAGE_PREFIX}-python3") | ||
|
||
cd "${srcdir}/python3-build-${CARCH}" | ||
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ | ||
${MINGW_PREFIX}/bin/python3 setup.py install --prefix=${MINGW_PREFIX} \ | ||
--root="${pkgdir}" --optimize=1 --skip-build | ||
} | ||
|
||
package_python2-pgen2() { | ||
depends=("${MINGW_PACKAGE_PREFIX}-python2") | ||
|
||
cd "${srcdir}/python2-build-${CARCH}" | ||
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ | ||
${MINGW_PREFIX}/bin/python2 setup.py install --prefix=${MINGW_PREFIX} \ | ||
--root="${pkgdir}" --optimize=1 --skip-build | ||
} | ||
|
||
package_mingw-w64-i686-python2-pgen2() { | ||
package_python2-pgen2 | ||
} | ||
|
||
package_mingw-w64-i686-python3-pgen2() { | ||
package_python3-pgen2 | ||
} | ||
|
||
package_mingw-w64-x86_64-python2-pgen2() { | ||
package_python2-pgen2 | ||
} | ||
|
||
package_mingw-w64-x86_64-python3-pgen2() { | ||
package_python3-pgen2 | ||
} |
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
Oops, something went wrong.