diff options
author | Sam Whited | 2020-04-21 18:27:13 -0400 |
---|---|---|
committer | Sam Whited | 2020-04-21 18:27:13 -0400 |
commit | 9e2101b082804ff92da9981eacec47c90c493155 (patch) | |
tree | aea945afb2bccae987e6133eb2ae5e25a9fa6d74 | |
download | aur-9e2101b082804ff92da9981eacec47c90c493155.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1558737a6df9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = ietf-id2xml + pkgdesc = Convert internet-draft text to XML + pkgver = 1.5.0 + pkgrel = 1 + url = https://pypi.org/project/id2xml/ + arch = any + license = custom:BSD + depends = python + depends = python-decorator + depends = python-lxml + depends = python-pathlib2 + depends = python-requests + depends = python-six + depends = xml2rfc + source = https://files.pythonhosted.org/packages/source/i/id2xml/id2xml-1.5.0.tar.gz + sha256sums = 589c74051e0da91096b46af5d6ab33a616085a0551405b4e2fc254e3180c1107 + +pkgname = ietf-id2xml + 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..371bdf2c1188 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Sam Whited <sam@samwhited.com> + +_pkgname=id2xml +pkgname=ietf-id2xml +pkgver=1.5.0 +pkgrel=1 +pkgdesc='Convert internet-draft text to XML' +url='https://pypi.org/project/id2xml/' +arch=(any) +depends=(python + python-decorator + python-lxml + python-pathlib2 + python-requests + python-six + xml2rfc) +license=(custom:BSD) +source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=('589c74051e0da91096b46af5d6ab33a616085a0551405b4e2fc254e3180c1107') + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/id2xml/LICENSE" +} |