# Tanım: Demirbaşsız nitelikler.
# URL: https://attrs.readthedocs.org/
# Paketçi: Cihan_Alkan
# Gerekler: python python3 python-setuptools python3-setuptools
# Grup: kütüphane

isim=pyattrs
surum=17.4.0
devir=1
kaynak=(https://pypi.io/packages/source/a/attrs/attrs-$surum.tar.gz)

derle() {

  cp -a attrs-$surum{,-py3}

  cd "$SRC"/attrs-$surum
  python2 setup.py build
  python2 setup.py install --root="$PKG" --optimize=1 --skip-build
 
  cd "$SRC"/attrs-$surum-py3
  python3 setup.py build

  python3 setup.py install --root="$PKG" --optimize=1 --skip-build
  install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
}