Use current path prefix to find Python script files to modify

When using pacman to install packages, the --root option can be set to
install them to an alternative location. The current install scripts
don't take this in to account which causes no such file or directory
errors. This modifies the sed command to use the full prefix path
when renaming the shebang.

Signed-off-by: Dan Yeaw <dan@yeaw.me>
This commit is contained in:
Dan Yeaw 2019-03-27 12:57:31 -04:00
parent 5f3aa3babe
commit fddd9ee6c6
246 changed files with 270 additions and 270 deletions

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe2.exe", it would be "myexe2" . # For "myexe2.exe", it would be "myexe2" .
for _it in somepackage2; do for _it in somepackage2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe2.exe", it would be "myexe2" . # For "myexe2.exe", it would be "myexe2" .
for _it in somepackage2; do for _it in somepackage2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in somepackage; do for _it in somepackage; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in somepackage; do for _it in somepackage; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ _realname=cython
pkgbase=mingw-w64-${_realname} pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-cython" "${MINGW_PACKAGE_PREFIX}-cython2") pkgname=("${MINGW_PACKAGE_PREFIX}-cython" "${MINGW_PACKAGE_PREFIX}-cython2")
pkgver=0.29.6 pkgver=0.29.6
pkgrel=1 pkgrel=2
pkgdesc="C-Extensions for Python (mingw-w64)" pkgdesc="C-Extensions for Python (mingw-w64)"
arch=('any') arch=('any')
url="http://www.cython.org" url="http://www.cython.org"

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in cython cythonize cygdb; do for _it in cython cythonize cygdb; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in cython cythonize cygdb; do for _it in cython cythonize cygdb; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in cython2 cythonize2 cygdb2; do for _it in cython2 cythonize2 cygdb2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in cython2 cythonize2 cygdb2; do for _it in cython2 cythonize2 cygdb2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=alembic
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=1.0.5 pkgver=1.0.5
pkgrel=1 pkgrel=2
pkgdesc="Lightweight database migration tool for usage with SQLAlchemy (mingw-w64)" pkgdesc="Lightweight database migration tool for usage with SQLAlchemy (mingw-w64)"
arch=('any') arch=('any')
url='https://bitbucket.org/zzzeek/alembic' url='https://bitbucket.org/zzzeek/alembic'

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in alembic2; do for _it in alembic2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in alembic2; do for _it in alembic2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in alembic; do for _it in alembic; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in alembic; do for _it in alembic; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -6,7 +6,7 @@ pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=2.6.0 pkgver=2.6.0
_core=33 _core=33
pkgrel=3 pkgrel=4
pkgdesc="A collection of tools for internationalizing Python applications (mingw-w64)" pkgdesc="A collection of tools for internationalizing Python applications (mingw-w64)"
url="http://babel.pocoo.org/" url="http://babel.pocoo.org/"
license=("BSD") license=("BSD")

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in pybabel2; do for _it in pybabel2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in pybabel2; do for _it in pybabel2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in pybabel; do for _it in pybabel; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in pybabel; do for _it in pybabel; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=cachecontrol
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=0.12.5 pkgver=0.12.5
pkgrel=1 pkgrel=2
pkgdesc="httplib2 caching for requests (mingw-w64)" pkgdesc="httplib2 caching for requests (mingw-w64)"
arch=('any') arch=('any')
url="https://github.com/ionrock/${_realname}" url="https://github.com/ionrock/${_realname}"

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in doesitcache2; do for _it in doesitcache2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in doesitcache2; do for _it in doesitcache2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in doesitcache; do for _it in doesitcache; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in doesitcache; do for _it in doesitcache; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=coverage
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=4.5.2 pkgver=4.5.2
pkgrel=1 pkgrel=2
pkgdesc="Code coverage measurement for Python (mingw-w64)" pkgdesc="Code coverage measurement for Python (mingw-w64)"
arch=('any') arch=('any')
url='https://coverage.readthedocs.io/' url='https://coverage.readthedocs.io/'

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in coverage2 coverage-2.7; do for _it in coverage2 coverage-2.7; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in coverage2 coverage-2.7; do for _it in coverage2 coverage-2.7; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in coverage coverage3 coverage-3.7; do for _it in coverage coverage3 coverage-3.7; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in coverage coverage3 coverage-3.7; do for _it in coverage coverage3 coverage-3.7; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=email-validator
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=1.0.3 pkgver=1.0.3
pkgrel=1 pkgrel=2
pkgdesc="A robust email syntax and deliverability validation library for Python 2.x/3.x. (mingw-w64)" pkgdesc="A robust email syntax and deliverability validation library for Python 2.x/3.x. (mingw-w64)"
arch=('any') arch=('any')
url='https://github.com/JoshData/python-email-validator' url='https://github.com/JoshData/python-email-validator'

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in email_validator2; do for _it in email_validator2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in email_validator2; do for _it in email_validator2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in email_validator; do for _it in email_validator; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in email_validator; do for _it in email_validator; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=faker
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=1.0.2 pkgver=1.0.2
pkgrel=1 pkgrel=2
pkgdesc="Faker generates fake data for you. (mingw-w64)" pkgdesc="Faker generates fake data for you. (mingw-w64)"
arch=('any') arch=('any')
url="http://www.joke2k.net/faker/" url="http://www.joke2k.net/faker/"

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe2.exe", it would be "myexe2" . # For "myexe2.exe", it would be "myexe2" .
for _it in faker2; do for _it in faker2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe2.exe", it would be "myexe2" . # For "myexe2.exe", it would be "myexe2" .
for _it in faker2; do for _it in faker2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in faker; do for _it in faker; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in faker; do for _it in faker; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ _realname=flake8
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=3.7.6 pkgver=3.7.6
pkgrel=1 pkgrel=2
pkgdesc="The modular source code checker: pep8, pyflakes and co" pkgdesc="The modular source code checker: pep8, pyflakes and co"
arch=('any') arch=('any')
url="http://flake8.pycqa.org" url="http://flake8.pycqa.org"

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in flake82; do for _it in flake82; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in flake82; do for _it in flake82; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in flake8; do for _it in flake8; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in flake8; do for _it in flake8; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=fonttools
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=3.37.3 pkgver=3.37.3
pkgrel=1 pkgrel=2
pkgdesc="Converts OpenType and TrueType fonts to and from XML (mingw-w64)" pkgdesc="Converts OpenType and TrueType fonts to and from XML (mingw-w64)"
arch=('any') arch=('any')
url='https://github.com/fonttools/fonttools' url='https://github.com/fonttools/fonttools'

View File

@ -5,23 +5,23 @@ post_install() {
local _it local _it
for _it in fonttools2; do for _it in fonttools2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftinspect2; do for _it in pyftinspect2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftmerge2; do for _it in pyftmerge2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftsubset2; do for _it in pyftsubset2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in ttx2; do for _it in ttx2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,23 +5,23 @@ post_install() {
local _it local _it
for _it in fonttools2; do for _it in fonttools2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftinspect2; do for _it in pyftinspect2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftmerge2; do for _it in pyftmerge2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftsubset2; do for _it in pyftsubset2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in ttx2; do for _it in ttx2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,23 +5,23 @@ post_install() {
local _it local _it
for _it in fonttools; do for _it in fonttools; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftinspect; do for _it in pyftinspect; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftmerge; do for _it in pyftmerge; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftsubset; do for _it in pyftsubset; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in ttx; do for _it in ttx; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,23 +5,23 @@ post_install() {
local _it local _it
for _it in fonttools; do for _it in fonttools; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftinspect; do for _it in pyftinspect; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftmerge; do for _it in pyftmerge; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pyftsubset; do for _it in pyftsubset; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in ttx; do for _it in ttx; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=future
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=0.17.1 pkgver=0.17.1
pkgrel=1 pkgrel=2
pkgdesc="Clean single-source support for Python 3 and 2 (mingw-w64)" pkgdesc="Clean single-source support for Python 3 and 2 (mingw-w64)"
arch=('any') arch=('any')
url='http://python-future.org/' url='http://python-future.org/'

View File

@ -5,11 +5,11 @@ post_install() {
local _it local _it
for _it in futurize2; do for _it in futurize2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pasteurize2; do for _it in pasteurize2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,11 +5,11 @@ post_install() {
local _it local _it
for _it in futurize2; do for _it in futurize2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pasteurize2; do for _it in pasteurize2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,11 +5,11 @@ post_install() {
local _it local _it
for _it in futurize; do for _it in futurize; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pasteurize; do for _it in pasteurize; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,11 +5,11 @@ post_install() {
local _it local _it
for _it in futurize; do for _it in futurize; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
for _it in pasteurize; do for _it in pasteurize; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=isort
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=4.3.4 pkgver=4.3.4
pkgrel=1 pkgrel=2
pkgdesc="A Python utility / library to sort Python imports. (mingw-w64)" pkgdesc="A Python utility / library to sort Python imports. (mingw-w64)"
arch=('any') arch=('any')
url='https://github.com/timothycrosley/isort' url='https://github.com/timothycrosley/isort'

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in isort2; do for _it in isort2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in isort2; do for _it in isort2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in isort; do for _it in isort; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in isort; do for _it in isort; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=jsonschema
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=2.6.0 pkgver=2.6.0
pkgrel=5 pkgrel=6
pkgdesc="An implementation of JSON Schema validation for Python (mingw-w64)" pkgdesc="An implementation of JSON Schema validation for Python (mingw-w64)"
arch=('any') arch=('any')
url="https://pypi.python.org/pypi/jsonschema" url="https://pypi.python.org/pypi/jsonschema"

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in jsonschema2; do for _it in jsonschema2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in jsonschema2; do for _it in jsonschema2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in jsonschema; do for _it in jsonschema; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in jsonschema; do for _it in jsonschema; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=jupyter_client
pkgbase=mingw-w64-python-jupyter_client pkgbase=mingw-w64-python-jupyter_client
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=5.2.4 pkgver=5.2.4
pkgrel=1 pkgrel=2
pkgdesc="The reference implementation of the Jupyter protocol (mingw-w64)" pkgdesc="The reference implementation of the Jupyter protocol (mingw-w64)"
arch=('any') arch=('any')
url="https://jupyter.org/" url="https://jupyter.org/"

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in jupyter-run jupyter-kernel jupyter-kernelspec; do for _it in jupyter-run jupyter-kernel jupyter-kernelspec; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script2.py -i ${_prefix}/bin/${_it}-script2.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in jupyter-run jupyter-kernel jupyter-kernelspec; do for _it in jupyter-run jupyter-kernel jupyter-kernelspec; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script2.py -i ${_prefix}/bin/${_it}-script2.py
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in jupyter-run jupyter-kernel jupyter-kernelspec; do for _it in jupyter-run jupyter-kernel jupyter-kernelspec; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in jupyter-run jupyter-kernel jupyter-kernelspec; do for _it in jupyter-run jupyter-kernel jupyter-kernelspec; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=jupyter_core
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=4.4.0 pkgver=4.4.0
pkgrel=3 pkgrel=4
pkgdesc="Core common functionality of Jupyter projects. (mingw-w64)" pkgdesc="Core common functionality of Jupyter projects. (mingw-w64)"
arch=('any') arch=('any')
url="https://jupyter.org/" url="https://jupyter.org/"

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in jupyter2 jupyter-migrate2; do for _it in jupyter2 jupyter-migrate2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it} -i ${_prefix}/bin/${_it}
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in jupyter2 jupyter-migrate2; do for _it in jupyter2 jupyter-migrate2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it} -i ${_prefix}/bin/${_it}
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in jupyter jupyter-migrate; do for _it in jupyter jupyter-migrate; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it} -i ${_prefix}/bin/${_it}
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in jupyter jupyter-migrate; do for _it in jupyter jupyter-migrate; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it} -i ${_prefix}/bin/${_it}
done done
} }

View File

@ -5,7 +5,7 @@ _realname=mako
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=1.0.8 pkgver=1.0.8
pkgrel=1 pkgrel=2
pkgdesc="A super-fast templating language that borrows the best ideas from the existing templating languages (mingw-w64)" pkgdesc="A super-fast templating language that borrows the best ideas from the existing templating languages (mingw-w64)"
arch=('any') arch=('any')
license=('custom') license=('custom')

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in mako-render2; do for _it in mako-render2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in mako-render; do for _it in mako-render; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in mako-render; do for _it in mako-render; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in mako-render; do for _it in mako-render; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ _pyname=Markdown
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=3.0.1 pkgver=3.0.1
pkgrel=1 pkgrel=2
pkgdesc="Python implementation of John Gruber's Markdown (mingw-w64)" pkgdesc="Python implementation of John Gruber's Markdown (mingw-w64)"
url='https://pypi.python.org/pypi/Markdown' url='https://pypi.python.org/pypi/Markdown'
license=('BSD') license=('BSD')

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in markdown_py2; do for _it in markdown_py2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in markdown_py2; do for _it in markdown_py2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in markdown_py; do for _it in markdown_py; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in markdown_py; do for _it in markdown_py; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ _realname=ndg-httpsclient
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=0.5.1 pkgver=0.5.1
pkgrel=1 pkgrel=2
pkgdesc="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL (mingw-w64)" pkgdesc="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL (mingw-w64)"
url='https://pypi.python.org/pypi/ndg-httpsclient' url='https://pypi.python.org/pypi/ndg-httpsclient'
license=('BSD') license=('BSD')

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in ndg_httpclient2; do for _it in ndg_httpclient2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in ndg_httpclient2; do for _it in ndg_httpclient2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in ndg_httpclient; do for _it in ndg_httpclient; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in ndg_httpclient; do for _it in ndg_httpclient; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=netaddr
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=0.7.19 pkgver=0.7.19
pkgrel=1 pkgrel=2
pkgdesc="Pure Python network address representation and manipulation library (mingw-w64)" pkgdesc="Pure Python network address representation and manipulation library (mingw-w64)"
arch=('any') arch=('any')
url='https://github.com/drkjam/netaddr' url='https://github.com/drkjam/netaddr'

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in netaddr2; do for _it in netaddr2; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it} -i ${_prefix}/bin/${_it}
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in netaddr2; do for _it in netaddr2; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it} -i ${_prefix}/bin/${_it}
done done
} }

View File

@ -8,7 +8,7 @@ post_install() {
# For "myexe.exe", it would be "myexe" . # For "myexe.exe", it would be "myexe" .
for _it in netaddr; do for _it in netaddr; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it} -i ${_prefix}/bin/${_it}
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in netaddr; do for _it in netaddr; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it} -i ${_prefix}/bin/${_it}
done done
} }

View File

@ -5,7 +5,7 @@ _realname=nose
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=1.3.7 pkgver=1.3.7
pkgrel=8 pkgrel=9
pkgdesc="A discovery-based unittest extension (mingw-w64)" pkgdesc="A discovery-based unittest extension (mingw-w64)"
arch=('any') arch=('any')
license=('LGPL-2.1') license=('LGPL-2.1')

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in nosetests nosetests2 nosetests-2.7; do for _it in nosetests nosetests2 nosetests-2.7; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in nosetests nosetests2 nosetests-2.7; do for _it in nosetests nosetests2 nosetests-2.7; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in nosetests3 nosetests-3.7; do for _it in nosetests3 nosetests-3.7; do
sed -e "s|/mingw32|${_prefix}|g" \ sed -e "s|/mingw32|${_prefix}|g" \
-i mingw32/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -5,7 +5,7 @@ post_install() {
local _it local _it
for _it in nosetests3 nosetests-3.7; do for _it in nosetests3 nosetests-3.7; do
sed -e "s|/mingw64|${_prefix}|g" \ sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py -i ${_prefix}/bin/${_it}-script.py
done done
} }

View File

@ -4,7 +4,7 @@ _realname=oslo-concurrency
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=3.29.0 pkgver=3.29.0
pkgrel=1 pkgrel=2
pkgdesc="OpenStack library for all concurrency-related code (mingw-w64)" pkgdesc="OpenStack library for all concurrency-related code (mingw-w64)"
arch=('any') arch=('any')
url='https://pypi.python.org/pypi/oslo.concurrency/3.27.0' url='https://pypi.python.org/pypi/oslo.concurrency/3.27.0'

Some files were not shown because too many files have changed in this diff Show More