diff options
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c4ca1c5389e0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = ietf-xml2rfc + pkgdesc = Generates RFCs and IETF Internet Drafts from XML according to RFC 7749. + pkgver = 2.44.0 + pkgrel = 1 + url = https://pypi.python.org/pypi/xml2rfc + arch = any + license = BSD + depends = python-google-i18n-address + depends = python-html5lib + depends = python-intervaltree + depends = python-kitchen + depends = python-lxml + depends = python-pycountry + depends = python-pyflakes + depends = python-requests + depends = python-six + provides = xml2rfc + conflicts = xml2rfc + source = https://files.pythonhosted.org/packages/source/x/xml2rfc/xml2rfc-2.44.0.tar.gz + sha256sums = e6631aa2699942f387705e9fb624655b99f43abd87091bc94a3f6b82f2aabb4e + +pkgname = ietf-xml2rfc + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..235955059152 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +pkg/ +src/ +*.tar +*.tar.gz +*.tar.xz +*.tar.zstd +*.tgz +*.zip diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..94a5cdea7082 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Sam Whited <sam@samwhited.com> + +pkgname=ietf-xml2rfc +_name=${pkgname#ietf-} +pkgver=2.44.0 +pkgrel=1 +pkgdesc='Generates RFCs and IETF Internet Drafts from XML according to RFC 7749.' +url='https://pypi.python.org/pypi/xml2rfc' +arch=(any) +provides=("$_name") +conflicts=("$_name") +depends=(python-google-i18n-address + python-html5lib + python-intervaltree + python-kitchen + python-lxml + python-pycountry + python-pyflakes + python-requests + python-six) +license=(BSD) +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('e6631aa2699942f387705e9fb624655b99f43abd87091bc94a3f6b82f2aabb4e') + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |