Skip to content

Commit

Permalink
Add 'python-roman/' from commit 'ccd508f2df126ba598ca4f43716e7c17ce39…
Browse files Browse the repository at this point in the history
…bbd8'

git-subtree-dir: python-roman
git-subtree-mainline: 020401c
git-subtree-split: ccd508f
  • Loading branch information
wereii committed May 19, 2021
2 parents 020401c + ccd508f commit a4c8976
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
13 changes: 13 additions & 0 deletions python-roman/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pkgbase = python-roman
pkgdesc = Integer to Roman numerals converter
pkgver = 3.3
pkgrel = 2
url = https://github.com/zopefoundation/roman
arch = any
license = PSF
makedepends = python-setuptools
source = roman-3.3.tar.gz::https://github.com/zopefoundation/roman/archive/3.3.tar.gz
sha256sums = 8846a7491dd9f59dc6bce1a950e055253804c6fcf11d14a088b4e2a7d6e4d29e

pkgname = python-roman

24 changes: 24 additions & 0 deletions python-roman/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Maintainer: Simon Perry <aur [at] sanxion [dot] net>
# Contributor: Aaron DeVore <[email protected]>

pkgname=python-roman
pkgver=3.3
pkgrel=2
pkgdesc="Integer to Roman numerals converter"
url="https://github.com/zopefoundation/roman"
makedepends=('python-setuptools')
license=('PSF')
arch=('any')
source=("roman-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('8846a7491dd9f59dc6bce1a950e055253804c6fcf11d14a088b4e2a7d6e4d29e')

build() {
cd "${srcdir}/roman-${pkgver}"
python setup.py build
}

package() {
cd "${srcdir}/roman-${pkgver}"
python setup.py install --root="$pkgdir" --optimize=1
}

0 comments on commit a4c8976

Please sign in to comment.