From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- python-pyrdfa3 | 1 - python-pyrdfa3/.SRCINFO | 16 ++++++++++++++++ python-pyrdfa3/PKGBUILD | 24 ++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) delete mode 160000 python-pyrdfa3 create mode 100644 python-pyrdfa3/.SRCINFO create mode 100644 python-pyrdfa3/PKGBUILD (limited to 'python-pyrdfa3') diff --git a/python-pyrdfa3 b/python-pyrdfa3 deleted file mode 160000 index 16141ed..0000000 --- a/python-pyrdfa3 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 16141ed512e31aeef2a11f4999b184be8a4dd5b9 diff --git a/python-pyrdfa3/.SRCINFO b/python-pyrdfa3/.SRCINFO new file mode 100644 index 0000000..52a8625 --- /dev/null +++ b/python-pyrdfa3/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-pyrdfa3 + pkgdesc = Python distiller/parser library + pkgver = 3.5.2 + pkgrel = 1 + url = https://github.com/RDFLib/pyrdfa3 + arch = any + license = custom + makedepends = python-setuptools + depends = python-rdflib + depends = python-html5lib + depends = python-simplejson + depends = python-isodate + source = python-pyrdfa3-3.5.2.tar.gz::https://github.com/RDFLib/pyrdfa3/archive/3.5.2.tar.gz + sha256sums = 2cf88994c9726eae043d24c2b6945ec2d0bf5c417e29dfd86cb5170884015905 + +pkgname = python-pyrdfa3 diff --git a/python-pyrdfa3/PKGBUILD b/python-pyrdfa3/PKGBUILD new file mode 100644 index 0000000..cf2ebac --- /dev/null +++ b/python-pyrdfa3/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Yigit Sever +pkgname=python-pyrdfa3 +_pkgname=pyrdfa3 +pkgver=3.5.2 +pkgrel=1 +pkgdesc="Python distiller/parser library" +arch=('any') +url="https://github.com/RDFLib/pyrdfa3" +license=('custom') +depends=('python-rdflib' 'python-html5lib' 'python-simplejson' 'python-isodate') +makedepends=('python-setuptools') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('2cf88994c9726eae043d24c2b6945ec2d0bf5c417e29dfd86cb5170884015905') + +build() { + cd "${_pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${_pkgname}-${pkgver}" + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/" +} -- cgit v1.2.3-70-g09d2