updpkg: 3.3.0

This commit is contained in:
Joffrey 2020-02-23 14:35:42 +00:00
parent 2249b2c37e
commit a55270f7d7
3 changed files with 18 additions and 25 deletions

View file

@ -1,18 +1,14 @@
pkgbase = python-django-post-office
pkgdesc = A simple app to send and manage your emails in Django
pkgver = 3.2.1
pkgrel = 2
pkgver = 3.3.0
pkgrel = 1
url = https://github.com/ui/django-post_office
arch = any
license = MIT
makedepends = python-setuptools
makedepends = python2-setuptools
source = python-django-post-office.tar.gz::https://github.com/ui/django-post_office/archive/v3.2.1.tar.gz
sha256sums = f9c8767a577001f0a074612c5af562addf10d3631645a11399cb9a72c0cb5318
depends = python-django-jsonfield
source = python-django-post-office-3.3.0.tar.gz::https://github.com/ui/django-post_office/archive/v3.3.0.tar.gz
sha256sums = 1a2093d5adc2e83b8d2e1fceaaa60812f5fe36da4685ec212e7ab878cc709237
pkgname = python-django-post-office
depends = python-django-jsonfield
pkgname = python2-django-post-office
depends = python2-django-jsonfield

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
*.gz
*.xz
*.zip
/pkg
/src

View file

@ -1,27 +1,19 @@
# Maintainer: Joffrey <j-off@live.fr>
pkgname=('python-django-post-office' 'python2-django-post-office')
pkgbase='python-django-post-office'
pkgver='3.2.1'
pkgrel=2
pkgname='python-django-post-office'
pkgver=3.3.0
pkgrel=1
pkgdesc='A simple app to send and manage your emails in Django'
arch=('any')
url='https://github.com/ui/django-post_office'
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools')
source=("$pkgbase.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('f9c8767a577001f0a074612c5af562addf10d3631645a11399cb9a72c0cb5318')
depends=('python-django-jsonfield')
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('1a2093d5adc2e83b8d2e1fceaaa60812f5fe36da4685ec212e7ab878cc709237')
package_python-django-post-office() {
depends=('python-django-jsonfield')
package() {
cd "$srcdir/django-post_office-$pkgver"
install -Dm644 './LICENSE.txt' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python './setup.py' install --root="$pkgdir" --optimize=1
}
package_python2-django-post-office() {
depends=('python2-django-jsonfield')
cd "$srcdir/django-post_office-$pkgver"
install -Dm644 './LICENSE.txt' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python2 './setup.py' install --root="$pkgdir" --optimize=1
}