2022-02-18 17:40:09 -05:00
|
|
|
# Description: python tools for accessing and manipulating databases
|
|
|
|
# URL: https://sqlalchemy.org
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2023-01-27 09:14:43 -05:00
|
|
|
# Depends on: python3-greenlet python3-typing_extensions
|
2022-02-18 17:40:09 -05:00
|
|
|
# Nice to have: python3-cython
|
|
|
|
|
|
|
|
name=python3-sqlalchemy
|
2023-02-01 09:06:44 -05:00
|
|
|
version=1.4.46
|
2022-02-18 17:40:09 -05:00
|
|
|
release=1
|
2023-01-27 09:14:43 -05:00
|
|
|
source=(https://github.com/${name#*-}/${name#*-}/archive/refs/tags/rel_${version//./_}.tar.gz)
|
2022-02-18 17:40:09 -05:00
|
|
|
renames=($name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name#*-}-*
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --skip-build \
|
|
|
|
--optimize=1 --prefix=/usr --root="$PKG"
|
|
|
|
|
|
|
|
find $PKG \( \
|
|
|
|
-iname "LICENSE.txt" -o \
|
|
|
|
-iname "*README*" \
|
|
|
|
\) -delete
|
|
|
|
chmod -R g-w $PKG
|
|
|
|
}
|