/mnt/lfs/root/talimatname/genel/p/pyrdflib

This commit is contained in:
milisbir 2018-01-27 06:54:42 +02:00
parent 8b3872f988
commit 567094721e
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# 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
}