From e70486afc2b7776eff51532e2eb6cf884d0abe29 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 16 Apr 2021 12:49:10 +0200 Subject: [PATCH] python-smartypants: drop install scripts --- mingw-w64-python-smartypants/PKGBUILD | 3 +-- .../smartypants-i686.install | 14 -------------- .../smartypants-x86_64.install | 14 -------------- 3 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 mingw-w64-python-smartypants/smartypants-i686.install delete mode 100644 mingw-w64-python-smartypants/smartypants-x86_64.install diff --git a/mingw-w64-python-smartypants/PKGBUILD b/mingw-w64-python-smartypants/PKGBUILD index a24f1585d6..3721cc818d 100644 --- a/mingw-w64-python-smartypants/PKGBUILD +++ b/mingw-w64-python-smartypants/PKGBUILD @@ -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) diff --git a/mingw-w64-python-smartypants/smartypants-i686.install b/mingw-w64-python-smartypants/smartypants-i686.install deleted file mode 100644 index 3f69a1acf4..0000000000 --- a/mingw-w64-python-smartypants/smartypants-i686.install +++ /dev/null @@ -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 -} diff --git a/mingw-w64-python-smartypants/smartypants-x86_64.install b/mingw-w64-python-smartypants/smartypants-x86_64.install deleted file mode 100644 index 97ce1ad592..0000000000 --- a/mingw-w64-python-smartypants/smartypants-x86_64.install +++ /dev/null @@ -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 -}