Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
b0ac030a
Commit
b0ac030a
authored
3 years ago
by
Kevin Daudt
Browse files
Options
Downloads
Patches
Plain Diff
community/py3-praw: support praw-core 2.0 in aports
parent
9845363a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/py3-praw/APKBUILD
+8
-3
8 additions, 3 deletions
community/py3-praw/APKBUILD
community/py3-praw/update-requirements.patch
+13
-0
13 additions, 0 deletions
community/py3-praw/update-requirements.patch
with
21 additions
and
3 deletions
community/py3-praw/APKBUILD
+
8
−
3
View file @
b0ac030a
...
...
@@ -3,7 +3,7 @@
pkgname
=
py3-praw
_pkgname
=
praw
pkgver
=
7.1.2
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"Python module to access to reddit's API"
options
=
"!check"
# missing 'Betamax' modules
url
=
"https://github.com/praw-dev/praw"
...
...
@@ -12,7 +12,9 @@ license="GPL-3.0-or-later"
depends
=
"py3-prawcore py3-update-checker py3-requests py3-six py3-websocket-client"
makedepends
=
"py3-setuptools"
checkdepends
=
"py3-pytest"
source
=
"
$_pkgname
-
$pkgver
.tar.gz::https://github.com/praw-dev/praw/archive/v
$pkgver
.tar.gz"
source
=
"
$_pkgname
-
$pkgver
.tar.gz::https://github.com/praw-dev/praw/archive/v
$pkgver
.tar.gz
update-requirements.patch
"
builddir
=
"
$srcdir
"
/
$_pkgname
-
$pkgver
replaces
=
"py-praw"
# Backwards compatibility
...
...
@@ -30,4 +32,7 @@ package() {
python3 setup.py
install
--prefix
=
/usr
--root
=
"
$pkgdir
"
}
sha512sums
=
"8d2a343b17cc86070ad02eae5846084aeb3ae34dda69204f1e5ec9b2dad7c751e89c07d53fb4bfc06b66c145dd06e7885200f7224311b5939d3cc37b3e192136 praw-7.1.2.tar.gz"
sha512sums
=
"
8d2a343b17cc86070ad02eae5846084aeb3ae34dda69204f1e5ec9b2dad7c751e89c07d53fb4bfc06b66c145dd06e7885200f7224311b5939d3cc37b3e192136 praw-7.1.2.tar.gz
7be3b18187ec0a07e89142a1531272bb5e6dc9df389e703e6bbe709ac046dd8504a9a9a8f1cf7672680189614d8eab25b81f5a8e3a1564f990ef63feeb467c0b update-requirements.patch
"
This diff is collapsed.
Click to expand it.
community/py3-praw/update-requirements.patch
0 → 100644
+
13
−
0
View file @
b0ac030a
diff --git a/setup.py b/setup.py
index 83504ea..bab87d8 100644
--- a/setup.py
+++ b/setup.py
@@ -60,7 +60,7 @@
setup(
),
extras_require=extras,
install_requires=[
- "prawcore >=1.5.0, <2.0",
+ "prawcore >=1.5.0, <2.1",
"update_checker >=0.18",
"websocket-client >=0.54.0",
],
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment