summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-09-07 08:35:55 +1200
committercaltlgin2020-09-07 08:35:55 +1200
commite0eda52af4f8cf2dbe12050f97f90da411ac741a (patch)
tree3e3015c2482949eb1e57a86a65c9967fd62f148c
downloadaur-e0eda52af4f8cf2dbe12050f97f90da411ac741a.tar.gz
Add to AUR
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD47
2 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..492c9b41eba
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = johnnydep-git
+ pkgdesc = Display dependency tree of Python distribution
+ pkgver = 1.5.r0.ga4982b8
+ pkgrel = 1
+ url = https://github.com/wimglenn/johnnydep
+ arch = any
+ license = MIT
+ makedepends = git
+ makedepends = python-setuptools
+ depends = python
+ depends = python-anytree
+ depends = python-cachetools
+ depends = python-colorama
+ depends = python-distlib
+ depends = python-oyaml
+ depends = python-packaging
+ depends = python-pkginfo
+ depends = python-pip
+ depends = python-setuptools
+ depends = python-structlog
+ depends = python-tabulate
+ depends = python-toml
+ depends = python-wheel
+ depends = python-wimpy
+ provides = johnnydep
+ source = johnnydep::git+https://github.com/wimglenn/johnnydep.git
+ sha256sums = SKIP
+
+pkgname = johnnydep-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..234fee6fccd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
+
+_pkgname='johnnydep'
+pkgname="${_pkgname}-git"
+pkgver=1.5.r0.ga4982b8
+pkgrel=1
+pkgdesc='Display dependency tree of Python distribution'
+arch=('any')
+url='https://github.com/wimglenn/johnnydep'
+license=('MIT')
+depends=('python'
+ 'python-anytree'
+ 'python-cachetools'
+ 'python-colorama'
+ 'python-distlib'
+ 'python-oyaml'
+ 'python-packaging'
+ 'python-pkginfo'
+ 'python-pip'
+ 'python-setuptools'
+ 'python-structlog'
+ 'python-tabulate'
+ 'python-toml'
+ 'python-wheel'
+ 'python-wimpy')
+makedepends=('git' 'python-setuptools')
+provides=("${_pkgname}")
+source=("${_pkgname}::git+${url}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "${_pkgname}"
+ python setup.py build
+}
+
+package() {
+ cd "${_pkgname}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" 'README.md'
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" 'LICENSE'
+}
+
+# vim: ts=2 sw=2 et: