summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoralgebro2019-10-09 10:47:44 -0400
committeralgebro2019-10-09 10:47:44 -0400
commitc8872dba21b75e9be071b25e4a308530d2ed6c2f (patch)
treebaff88fe72ad0f6b4197e94e9945cdb1216e207b
downloadaur-c8872dba21b75e9be071b25e4a308530d2ed6c2f.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6615e92fe73
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-libnmap
+ pkgdesc = Python NMAP library enabling you to start async nmap tasks, parse and compare/diff scan results. Python 3 version from PyPi
+ pkgver = 0.7.0
+ pkgrel = 1
+ url = https://github.com/savon-noir/python-libnmap
+ arch = any
+ license = CCPL
+ depends = python
+ optdepends = python-sqlalchemy
+ optdepends = python-pymongo
+ optdepends = python-boto
+ source = https://files.pythonhosted.org/packages/source/p/python-libnmap/python-libnmap-0.7.0.tar.gz
+ sha256sums = 9d14919142395aaca952e129398f0c7371c0f0a034c63de6dad99cd7050177ad
+
+pkgname = python-libnmap
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ed742e5c731
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+pkgname=python-libnmap
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Python NMAP library enabling you to start async nmap tasks, parse and compare/diff scan results. Python 3 version from PyPi"
+arch=('any')
+url="https://github.com/savon-noir/python-libnmap"
+license=('CCPL')
+depends=('python')
+optdepends=('python-sqlalchemy' 'python-pymongo' 'python-boto')
+source=("https://files.pythonhosted.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('9d14919142395aaca952e129398f0c7371c0f0a034c63de6dad99cd7050177ad')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --root=$pkgdir --optimize=1 --skip-build
+
+ cd "$srcdir"
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
+}