makedeb


python3-fake-useragent 1.5.1-0


Up to date simple useragent faker with real world database

Click here to go back to the commit logs for python3-fake-useragent.

Commit:


Hash: dd9dabc0efaa2ecc7021469ce981f7dbd384c948

Message: 1.3.0

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 911b72e..9346772 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = python3-fake-useragent
 pkgbase = python3-fake-useragent
 pkgdesc = Up to date simple useragent faker with real world database
 pkgrel = 0
-pkgver = 1.2.1
+pkgver = 1.3.0
 url = https://github.com/fake-useragent/fake-useragent
 arch = all
 depends = python3
@@ -11,8 +11,8 @@ license = Apache
 makedepends = python3-build
 makedepends = python3-installer
 makedepends = python3-wheel
-source = python3-fake-useragent-1.2.1.tar.gz::https://github.com/fake-useragent/fake-useragent/archive/refs/tags/1.2.1.tar.gz
-b2sums = 3619120324985acd449d52e8df520ac41202330cb97b36808592f968f9f1f52c679a6ad45060fbaedaaf52437d3dadde6b0b4937562259589dfeb4fd212cfd6f
+source = python3-fake-useragent-1.3.0.tar.gz::https://github.com/fake-useragent/fake-useragent/archive/refs/tags/1.3.0.tar.gz
+b2sums = 694ac18b8e5cbce39c1a6a99038acd5139e840d32661228ffb072e0d2820d52d5e97316e86e1d1d0a62b6eb52cc8e08889b0c6e3c5ed80d7993b8b6d5f20c12d
 makedepends = python3-build
 makedepends = python3-installer
 makedepends = python3-wheel
diff --git a/PKGBUILD b/PKGBUILD
index b464ec7..997a3db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Alan Beale (AUR) <the.mrabz@gmail.com>
 _name=fake-useragent
 pkgname=python3-fake-useragent
-pkgver=1.2.1
+pkgver=1.3.0
 pkgrel=0
 pkgdesc='Up to date simple useragent faker with real world database'
 arch=('all')
@@ -11,7 +11,7 @@ license=('Apache')
 depends=('python3')
 makedepends=('python3-build' 'python3-installer' 'python3-wheel')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/fake-useragent/fake-useragent/archive/refs/tags/$pkgver.tar.gz")
-b2sums=('3619120324985acd449d52e8df520ac41202330cb97b36808592f968f9f1f52c679a6ad45060fbaedaaf52437d3dadde6b0b4937562259589dfeb4fd212cfd6f')
+b2sums=('694ac18b8e5cbce39c1a6a99038acd5139e840d32661228ffb072e0d2820d52d5e97316e86e1d1d0a62b6eb52cc8e08889b0c6e3c5ed80d7993b8b6d5f20c12d')
 
 build() {
   cd $_name-$pkgver
@@ -24,8 +24,9 @@ package() {
   # Manual remove local
   mv "$pkgdir/usr/local/"* "$pkgdir/usr/"
   rmdir "$pkgdir/usr/local" 
-  install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
+  #doc
   install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
+  ln -s /usr/share/common-licenses/Apache-2.0 "$pkgdir/usr/share/doc/$pkgname/"
 }
 
 # vim:set ts=2 sw=2 et: