cruxports/python3-sqlalchemy/Pkgfile

23 lines
626 B
Plaintext
Raw Normal View History

2022-02-18 22:40:09 +00:00
# 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
2023-10-29 11:27:44 +00:00
# Optional: python3-cython
2022-02-18 22:40:09 +00:00
name=python3-sqlalchemy
2023-10-29 11:27:44 +00:00
version=2.0.22
2022-02-18 22:40:09 +00:00
release=1
source=(https://github.com/${name#*-}/${name#*-}/archive/refs/tags/rel_${version//./_}.tar.gz)
2022-02-18 22:40:09 +00:00
renames=($name-$version.tar.gz)
build() {
cd ${name#*-}-*
2023-09-29 15:46:50 +00:00
/usr/bin/pip3 install --isolate --root=$PKG --no-deps --ignore-installed .
2022-02-18 22:40:09 +00:00
find $PKG \( \
2023-09-29 15:46:50 +00:00
-iname "LICENSE*" -o \
2022-02-18 22:40:09 +00:00
-iname "*README*" \
\) -delete
chmod -R g-w $PKG
}