python-smartypants: drop install scripts
This commit is contained in:
@@ -4,7 +4,7 @@ _realname=smartypants
|
||||
pkgbase=mingw-w64-python-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
|
||||
pkgver=2.0.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Python with the SmartyPants (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64')
|
||||
@@ -13,7 +13,6 @@ license=('BSD')
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-python")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-python"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-setuptools")
|
||||
install=${_realname}-${CARCH}.install
|
||||
options=('staticlibs' 'strip' '!debug')
|
||||
source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/leohemsted/${_realname}.py/archive/v${pkgver}.tar.gz"
|
||||
fix-tests.patch)
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
post_install() {
|
||||
cd mingw32
|
||||
local _prefix=$(pwd -W)
|
||||
cd -
|
||||
local _it
|
||||
for _it in smartypants; do
|
||||
sed -e "s|/mingw32|${_prefix}|g" \
|
||||
-i ${_prefix}/bin/${_it}
|
||||
done
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
post_install() {
|
||||
cd mingw64
|
||||
local _prefix=$(pwd -W)
|
||||
cd -
|
||||
local _it
|
||||
for _it in smartypants; do
|
||||
sed -e "s|/mingw64|${_prefix}|g" \
|
||||
-i ${_prefix}/bin/${_it}
|
||||
done
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
Reference in New Issue
Block a user