Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
pamac
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vitor Lopes
pamac
Commits
35cfb5e0
Commit
35cfb5e0
authored
Jul 22, 2019
by
Vitor Lopes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to v8
parent
8e4abfa2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
examples/python/appstream.py
examples/python/appstream.py
+1
-1
examples/python/empty_transaction.py
examples/python/empty_transaction.py
+1
-1
examples/python/list_installed_pkgs.py
examples/python/list_installed_pkgs.py
+1
-1
examples/python/list_installed_pkgs_async.py
examples/python/list_installed_pkgs_async.py
+1
-1
examples/python/test-infos.py
examples/python/test-infos.py
+1
-1
No files found.
examples/python/appstream.py
View file @
35cfb5e0
#!/usr/bin/python
import
gi
gi
.
require_version
(
'Pamac'
,
'
1
.0'
)
gi
.
require_version
(
'Pamac'
,
'
8
.0'
)
from
gi.repository
import
Pamac
def
print_pkg_details
(
details
):
...
...
examples/python/empty_transaction.py
View file @
35cfb5e0
#!/usr/bin/python
import
gi
gi
.
require_version
(
'Pamac'
,
'
1
.0'
)
gi
.
require_version
(
'Pamac'
,
'
8
.0'
)
from
gi.repository
import
GLib
,
Pamac
def
on_emit_action
(
transaction
,
action
,
data
):
...
...
examples/python/list_installed_pkgs.py
View file @
35cfb5e0
#!/usr/bin/python
import
gi
gi
.
require_version
(
'Pamac'
,
'
1
.0'
)
gi
.
require_version
(
'Pamac'
,
'
8
.0'
)
from
gi.repository
import
Pamac
def
list_installed_pkgs
():
...
...
examples/python/list_installed_pkgs_async.py
View file @
35cfb5e0
#!/usr/bin/python
import
gi
gi
.
require_version
(
'Pamac'
,
'
1
.0'
)
gi
.
require_version
(
'Pamac'
,
'
8
.0'
)
from
gi.repository
import
GLib
,
Pamac
def
on_installed_pkgs_ready_callback
(
source_object
,
result
,
user_data
):
...
...
examples/python/test-infos.py
View file @
35cfb5e0
...
...
@@ -18,7 +18,7 @@ import subprocess
import
locale
from
datetime
import
date
import
unittest
gi
.
require_version
(
'Pamac'
,
'
1
.0'
)
gi
.
require_version
(
'Pamac'
,
'
8
.0'
)
# import xml /usr/share/gir-1.0/Pamac-1.0.gir
from
gi.repository
import
GLib
,
Pamac
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment