Skip to content

Commit 153d57f

Browse files
author
chrismaes87
authored
Merge pull request #1 from macq/rework
Rework
2 parents 142efb8 + b8239b0 commit 153d57f

File tree

12 files changed

+1534
-471
lines changed

12 files changed

+1534
-471
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.coverage
2+
__pycache__

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: python
2+
python:
3+
- "3.6"
4+
install:
5+
- pip install codecov
6+
- pip install -r requirements.txt
7+
script: cd src ; python3 -m coverage run --branch test/run_tests.py
8+
after_success:
9+
- codecov

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## spec2deb ##
22

3+
[![codecov](https://codecov.io/gh/macq/spec2deb/branch/master/graph/badge.svg)](https://codecov.io/gh/macq/spec2deb)
4+
35
This utility takes a rpm package.spec as input generating a series of
46
debian-specific files like the package.dsc build descriptor and the
57
debian.diff.gz / debian.tar.gz containing the control file and patches.
@@ -49,3 +51,12 @@ Get a source snapshot from one of the tags:
4951
## Documentation ##
5052

5153
There is additional documentation in the [README.TXT](src/README.txt) in the project sources.
54+
55+
## Functional tests ##
56+
57+
inside `src` directory:
58+
59+
```
60+
python3 -m coverage run --branch test/run_tests.py
61+
python3 -m coverage report -m
62+
```

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
coverage==4.4.2

src/.coveragerc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[run]
2+
include =
3+
./spec2deb/*.py
4+
omit =
5+
./test*/*.py

src/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
keywords = 'rpm spec deb debian converter',
1414
author = 'Guido Draheim',
1515
author_email = 'guidod@gmx.de',
16-
url = 'http://bitbucket.org/guidod/spec2deb',
16+
url = 'https://github.com/macq/spec2deb',
1717
description = README,
1818
license = '''BSD''',
1919
)

0 commit comments

Comments
 (0)