mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 22:22:26 +01:00
[lilac] updated to 0.9.0-2
This commit is contained in:
parent
8b3feceeb7
commit
ab80d084f3
3 changed files with 2 additions and 80 deletions
2
.SRCINFO
2
.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
|
||||
|
|
|
|||
2
PKGBUILD
2
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'
|
||||
|
|
|
|||
78
update.sh
78
update.sh
|
|
@ -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 <sumner.evans98 at gmail dot com>
|
||||
|
||||
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
|
||||
Loading…
Add table
Reference in a new issue