milis/talimatname/genel/p/pyrdflib/talimat

26 lines
587 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: RDF ile çalışmak için bir Python kütüphanesi
# URL: http://rdflib.net/
# Paketçi: Cihan_Alkan
# Gerekler: python python3 python-setuptools python3-setuptools pymarkupsafe
# Grup: kütüphane
isim=pyrdflib
surum=4.2.2
devir=1
kaynak=(https://github.com/RDFLib/rdflib/archive/4.2.2.tar.gz::$isim-$surum.tar.gz)
derle() {
cp -a rdflib-$surum{,-py3}
cd "$SRC"/rdflib-$surum
python setup.py build
python setup.py install --root="$PKG" --optimize=1
cd "$SRC"/rdflib-$surum-py3
python3 setup.py build
python3 setup.py install --root="$PKG" --optimize=1
}