python-smartypants: drop install scripts

This commit is contained in:
Christoph Reiter
2021-04-16 12:49:10 +02:00
parent 875a21ed90
commit e70486afc2
3 changed files with 1 additions and 30 deletions

View File

@@ -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)

View File

@@ -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
}

View File

@@ -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
}