From b9c3469a49083d341a2c7c03601f0e95773c0f88 Mon Sep 17 00:00:00 2001 From: Manuel UtG Date: Thu, 5 Jun 2014 17:30:37 +0000 Subject: [PATCH] mv python2-beautifulsoup to python2-beautifulsoup3 --- .../PKGBUILD | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) rename {python2-beautifulsoup => python2-beautifulsoup3}/PKGBUILD (54%) diff --git a/python2-beautifulsoup/PKGBUILD b/python2-beautifulsoup3/PKGBUILD similarity index 54% rename from python2-beautifulsoup/PKGBUILD rename to python2-beautifulsoup3/PKGBUILD index 2ecd1d562..c0c84bacc 100644 --- a/python2-beautifulsoup/PKGBUILD +++ b/python2-beautifulsoup3/PKGBUILD @@ -1,25 +1,23 @@ -# -# Chakra Apps for Chakra, part of chakra-project.org -# -# contributor (x86_64): Giuseppe CalĂ  +# Maintainer: Manuel 'UtG' -pkgname=python2-beautifulsoup +pkgname=python2-beautifulsoup3 pkgver=3.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="A Python HTML/XML parser designed for quick turnaround projects like screen-scraping." -arch=('any') +arch=('x86_64') url="http://www.crummy.com/software/BeautifulSoup/index.html" license=('PSF') depends=('python2') -replaces=('beautiful-soup') -provides=('beautiful-soup') -conflicts=('beautiful-soup') +replaces=('python2-beautifulsoup' 'beautiful-soup') +provides=('python2-beautifulsoup=3.2.1' 'beautiful-soup') +conflicts=('python2-beautifulsoup' 'beautiful-soup') source=(http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-$pkgver.tar.gz) md5sums=('5ad1a8550a19bfc945baac23eb8293ed') -build() { - cd ${srcdir}/BeautifulSoup-$pkgver +package() { + cd "${srcdir}/BeautifulSoup-$pkgver" + python2 setup.py install --root=${pkgdir} -O1 }