summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTong Chunli2018-11-02 22:07:00 +0800
committerTong Chunli2018-11-02 22:07:00 +0800
commit2f9196a96a99d6cea2e284d64dd8856037f1b643 (patch)
tree1bc56ca5250ded30714634b6810aa087a2029d93
downloadaur-2f9196a96a99d6cea2e284d64dd8856037f1b643.tar.gz
Initial Commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD20
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..caf526386c9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-colcon-metadata
+ pkgdesc = An extension for colcon-core to fetch and manage package metadata from repositories.
+ pkgver = 0.2.1
+ pkgrel = 1
+ url = https://pypi.org/project/colcon-metadata/
+ arch = any
+ license = Apache
+ makedepends = python-setuptools
+ depends = python-colcon-core
+ source = https://files.pythonhosted.org/packages/14/30/25c40b5c20650d95cf343fff27155fdeb1356bfdc4638c81fe29af432ec4/colcon-metadata-0.2.1.tar.gz
+ sha256sums = bf96f93136dc2ff9417590dc83a69b29f7811f13b6e2d8959abf8d52a0549ffe
+
+pkgname = python-colcon-metadata
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b47d1b0b729
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+#Maintainer: Tong Chunli<t.cunly at 163 dot com>
+pkgname=python-colcon-metadata
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="An extension for colcon-core to fetch and manage package metadata from repositories."
+arch=(any)
+url="https://pypi.org/project/colcon-metadata/"
+license=('Apache')
+depends=('python-colcon-core')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/14/30/25c40b5c20650d95cf343fff27155fdeb1356bfdc4638c81fe29af432ec4/colcon-metadata-$pkgver.tar.gz")
+sha256sums=('bf96f93136dc2ff9417590dc83a69b29f7811f13b6e2d8959abf8d52a0549ffe')
+
+
+package() {
+ cd ${srcdir}/colcon-metadata-${pkgver}
+
+ python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
+ install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}