summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Shalygin2018-08-19 16:12:36 +0700
committerKonstantin Shalygin2018-08-19 16:12:36 +0700
commit9c5f00d26d93e1162c2d15ca2f0b43caaa7abef3 (patch)
tree1afdc3f468102ecd8cf9584448074c5947711473
parentbcdc6b3e3ff1dcb5d5a8c030bfe801b08eeb7147 (diff)
downloadaur-9c5f00d26d93e1162c2d15ca2f0b43caaa7abef3.tar.gz
Enable tests.
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6105e8a79c2..c1304dc07ee 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,20 @@
# Generated by mksrcinfo v8
-# Thu Jul 5 08:22:00 UTC 2018
+# Sun Aug 19 09:12:22 UTC 2018
pkgbase = frr
pkgdesc = FRRouting (quagga fork) supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, LDP, NHRP and EIGRP.
pkgver = 5.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://frrouting.org/
arch = any
license = GPL2
makedepends = patch
makedepends = gcc
makedepends = net-snmp
- makedepends = json-c
makedepends = bison
makedepends = c-ares
makedepends = perl-xml-libxml
- makedepends = rtrlib
makedepends = python-sphinx
+ makedepends = python-pytest
depends = libcap
depends = libnl
depends = readline
diff --git a/PKGBUILD b/PKGBUILD
index f068cb23285..9f43dd59880 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,13 @@
pkgname='frr'
pkgver='5.0.1'
-pkgrel='1'
+pkgrel='2'
pkgdesc='FRRouting (quagga fork) supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, LDP, NHRP and EIGRP.'
arch=('any')
url="https://frrouting.org/"
license=('GPL2')
depends=('libcap' 'libnl' 'readline' 'ncurses' 'perl' 'json-c' 'net-snmp' 'rtrlib')
-makedepends=('patch' 'gcc' 'net-snmp' 'json-c' 'bison' 'c-ares' 'perl-xml-libxml' 'rtrlib' 'python-sphinx')
+makedepends=('patch' 'gcc' 'net-snmp' 'bison' 'c-ares' 'perl-xml-libxml' 'python-sphinx' 'python-pytest')
conflicts=('quagga' 'babeld' 'quagga_cumulus')
provides=('quagga' 'quagga_cumulus')
source=("https://github.com/FRRouting/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz"
@@ -58,6 +58,11 @@ build() {
make
}
+check() {
+ cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+ make check
+}
+
package() {
cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install