diff options
author | Daniel M. Capella | 2018-03-05 12:46:24 -0500 |
---|---|---|
committer | Daniel M. Capella | 2018-03-05 12:51:43 -0500 |
commit | 253755a3985a76df75b981f33e5978882a5305c7 (patch) | |
tree | 6e029aba11fa4bc1da1fb74d7f1ecc9bb1f930df | |
parent | 63e4ed2a84e3a2caef3b993e1c156375cd0438ef (diff) | |
download | aur-253755a3985a76df75b981f33e5978882a5305c7.tar.gz |
Add license and remove check
Tests not included in PyPI sources.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 8 insertions, 11 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Mon Mar 5 05:45:33 UTC 2018 +# Mon Mar 5 17:48:13 UTC 2018 pkgbase = hangups pkgdesc = The first third-party instant messaging client for Google Hangouts pkgver = 0.4.4 @@ -7,8 +7,6 @@ pkgbase = hangups url = https://github.com/tdryer/hangups arch = any license = MIT - checkdepends = python-httpretty - checkdepends = python-pytest depends = python-aiohttp depends = python-appdirs depends = python-configargparse @@ -19,7 +17,9 @@ pkgbase = hangups depends = python-requests depends = python-urwid source = https://files.pythonhosted.org/packages/source/h/hangups/hangups-0.4.4.tar.gz + source = hangups-0.4.4.license::https://raw.githubusercontent.com/tdryer/hangups/v0.4.4/LICENSE sha512sums = d89050e9c7374785be07e88013b98c893cd091ccf93f72c0da787f6390378bccf88058622f683a8a73ae611bc828119c6267cf947963ed8f0277165879823f69 + sha512sums = 6a0e0c135e55f027e3817ce181c7f5d73a3fd6f4c1ebe6bb28ab61352eeecdf1acdea78178ae6fe1eae8632d99e16e85c973e403644b7eac77c62dfc6c21eae9 pkgname = hangups @@ -11,9 +11,10 @@ license=('MIT') depends=('python-aiohttp' 'python-appdirs' 'python-configargparse' 'python-mechanicalsoup' 'python-protobuf' 'python-readlike' 'python-reparser' 'python-requests' 'python-urwid') -checkdepends=('python-httpretty' 'python-pytest') -source=("https://files.pythonhosted.org/packages/source/h/hangups/hangups-$pkgver.tar.gz") -sha512sums=('d89050e9c7374785be07e88013b98c893cd091ccf93f72c0da787f6390378bccf88058622f683a8a73ae611bc828119c6267cf947963ed8f0277165879823f69') +source=("https://files.pythonhosted.org/packages/source/h/hangups/hangups-$pkgver.tar.gz" + "hangups-$pkgver.license::https://raw.githubusercontent.com/tdryer/hangups/v$pkgver/LICENSE") +sha512sums=('d89050e9c7374785be07e88013b98c893cd091ccf93f72c0da787f6390378bccf88058622f683a8a73ae611bc828119c6267cf947963ed8f0277165879823f69' + '6a0e0c135e55f027e3817ce181c7f5d73a3fd6f4c1ebe6bb28ab61352eeecdf1acdea78178ae6fe1eae8632d99e16e85c973e403644b7eac77c62dfc6c21eae9') prepare() { cd hangups-$pkgver @@ -26,14 +27,10 @@ build() { python setup.py build } -check() { - cd hangups-$pkgver - pytest hangups -} - package() { cd hangups-$pkgver python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 ../hangups-$pkgver.license "$pkgdir"/usr/share/licenses/hangups/LICENSE } # vim:set ts=2 sw=2 et: |