25 lines
682 B
Plaintext
25 lines
682 B
Plaintext
# Description: python tools for accessing and manipulating databases
|
|
# URL: https://sqlalchemy.org
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: python3-greenlet python3-typing_extensions
|
|
# Optional: python3-cython
|
|
|
|
name=python3-sqlalchemy
|
|
version=2.0.27
|
|
release=1
|
|
source=(https://github.com/${name#*-}/${name#*-}/archive/refs/tags/rel_${version//./_}.tar.gz)
|
|
renames=($name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name#*-}-*
|
|
/usr/bin/pip3 install --isolate --root=$PKG --no-deps --ignore-installed .
|
|
|
|
find $PKG \( \
|
|
-iname "LICENSE*" -o \
|
|
-iname "*README*" -o \
|
|
-iname "INSTALLER" -o \
|
|
-iname "REQUESTED" \
|
|
\) -delete
|
|
chmod -R g-w $PKG
|
|
}
|