diff --git a/.SRCINFO b/.SRCINFO index ea28152def20..0c99f8c16a6b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = python-typing-inspect pkgdesc = Runtime inspection utilities for typing module pkgver = 0.9.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/ilevkivskyi/typing_inspect arch = any license = MIT diff --git a/PKGBUILD b/PKGBUILD index df1ebbd0d566..bc439e1fa746 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=python-typing-inspect _name=${pkgname#python-} pkgver=0.9.0 -pkgrel=1 +pkgrel=2 pkgdesc='Runtime inspection utilities for typing module' arch=('any') url='https://github.com/ilevkivskyi/typing_inspect' diff --git a/update.sh b/update.sh deleted file mode 100755 index 0856d10f9e35..000000000000 --- a/update.sh +++ /dev/null @@ -1,78 +0,0 @@ -#! /bin/sh - -AUR_NAME=python-typing-inspect -PROJ_NAME=typing_inspect -DESCRIPTION="Runtime inspection utilities for Python typing module" -URL=https://github.com/ilevkivskyi/typing_inspect -DEPENDS=( - python-mypy_extensions - python-typing_extensions -) -LICENSE='MIT' -ADDITIONAL= - -if [[ $# == 0 ]]; then - echo 'Usage: ./update.sh VERSION_NUMBER' - exit 1 -fi -pkgrel=1 -if [[ $# == 2 ]]; then - pkgrel=$2 -fi - -SRCS=( - https://files.pythonhosted.org/packages/source/${PROJ_NAME:0:1}/${PROJ_NAME}/${PROJ_NAME}-$1.tar.gz -) - -printf '' > PKGBUILD -echo "# Maintainer: Sumner Evans - -pkgbase='${AUR_NAME}' -pkgname=('${AUR_NAME}') -_module='${PROJ_NAME}' -pkgver='$1' -pkgrel=$pkgrel -pkgdesc='${DESCRIPTION}' -url='${URL}' -depends=( - 'python'" >> PKGBUILD - -# Include the dependencies. -for d in ${DEPENDS[*]}; do - echo " '$d'" >> PKGBUILD -done - -echo ") -optdepends=() -makedepends=( - 'python-setuptools' -) -license=('${LICENSE}') -arch=('any') -source=(" >> PKGBUILD - -# Include the dependencies. -for s in ${SRCS[*]}; do - echo " '$s'" >> PKGBUILD -done - -echo ") -md5sums=() -${ADDITIONAL} - -build() { - cd \"\${srcdir}/\${_module}-\${pkgver}\" - python setup.py build -} - -package() { - pushd \"\${srcdir}/\${_module}-\${pkgver}\" - python setup.py install --root=\"\${pkgdir}\" --optimize=1 --skip-build - popd -}" >> PKGBUILD - -updpkgsums -makepkg --printsrcinfo > .SRCINFO - -# Test -makepkg -f