mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
python-pmw: fix the distutils
This commit is contained in:
parent
82f5af3d50
commit
75a47184f0
5 changed files with 7 additions and 48 deletions
|
@ -1,11 +0,0 @@
|
|||
2.0.1-2:
|
||||
python3.5 rebuild
|
||||
|
||||
2.0.1-1:
|
||||
upstream update
|
||||
|
||||
2.0.0-2:
|
||||
rebuild according to FS#42100
|
||||
|
||||
2.0.0-1:
|
||||
upstream update
|
|
@ -1,21 +0,0 @@
|
|||
Copyright (c) 2007,2008 David M. Cooke <david.m.cooke@gmail.com>
|
||||
Copyright (c) 2009,2010 Francesc Alted <faltet@pytables.org>
|
||||
Copyright (c) 2011- See AUTHORS.txt
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
|
@ -10,12 +10,9 @@ pkgdesc="A toolkit for high-level compound widgets in Python using the Tkinter m
|
|||
arch=('any')
|
||||
url="http://pmw.sourceforge.net/"
|
||||
license=('MIT')
|
||||
depends=('python' 'tk')
|
||||
source=(${pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/source/P/Pmw/Pmw-${pkgver}.tar.gz
|
||||
"LICENSE.txt")
|
||||
md5sums=('8b816709e4f1d486ba47f1dc787066ee'
|
||||
'28b047a148c1780eddcf4bed6b150123')
|
||||
changelog="ChangeLog"
|
||||
depends=('python' 'tk' 'python-distutils-extra')
|
||||
source=(${pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/source/P/Pmw/Pmw-${pkgver}.tar.gz)
|
||||
md5sums=('8b816709e4f1d486ba47f1dc787066ee')
|
||||
|
||||
build() {
|
||||
cd "Pmw-${pkgver}"
|
||||
|
@ -25,5 +22,4 @@ build() {
|
|||
package() {
|
||||
cd "Pmw-${pkgver}"
|
||||
python setup.py install --prefix=/usr --root="${pkgdir}"
|
||||
install -Dm644 "${srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
|
@ -2,6 +2,10 @@ maintainers:
|
|||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
build_prefix: extra-x86_64
|
||||
pre_build_script: |
|
||||
update_pkgver_and_pkgrel(_G.newver)
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_on:
|
||||
- source: pypi
|
||||
pypi: Pmw
|
||||
|
|
Loading…
Add table
Reference in a new issue